/* RESET & 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,
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-color: #F7F7F7;
  color: #17301d;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
a {
  color: #236B31;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4B9FC3;
  outline: none;
}
ul, ol {
  margin-left: 1.3em;
}
img, video {
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  background: transparent;
  outline: none;
}

/* BRAND COLORS: earth/nature inspired + accents */
:root {
  --brand-primary: #0C2137;
  --brand-secondary: #4B9FC3;
  --brand-accent: #F7F7F7;
  --nature-leaf: #4da560;
  --nature-clay: #9D7756;
  --nature-earth: #706853;
  --nature-forest: #236B31;
  --nature-canvas: #f5f3e7;
  --nature-bark: #795347;
  --nature-shadow: rgba(44,51,24,0.10);
  --danger: #bf4444;
  --info: #4B9FC3;
  --success: #53a858;
}


/* TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,500|Open+Sans:400,600&display=swap');

body,
p, li, ul, ol, dl, dd, dt, address {
  font-size: 16px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #17301d;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: var(--brand-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; line-height: 1.13; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.15; }
h3 { font-size: 1.35rem; margin-bottom: 10px; line-height: 1.2; }
h4, h5, h6 { font-size: 1rem; }
p { margin-bottom: 12px; }
ul, ol { margin-bottom: 20px; }
strong { color: var(--nature-forest); font-weight: bold; }

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* SECTION SPACING (MANDATORY) */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--nature-canvas);
  border-radius: 32px;
  box-shadow: 0 4px 32px var(--nature-shadow);
  transition: box-shadow 0.3s;
}
section:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  section {
    padding: 20px 6px;
    border-radius: 12px;
  }
}

/* CARDS AND FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: white;
  border-radius: 22px;
  box-shadow: 0 2px 14px var(--nature-shadow);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 220px;
  max-width: 390px;
  border: 1px solid #e6e4d4;
  transition: box-shadow 0.3s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 30px rgba(40,70,39,0.14);
  transform: translateY(-2px) scale(1.014);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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 {
    flex-direction: column;
    gap: 18px;
  }
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  border-radius: 22px;
  box-shadow: 0 1px 8px var(--nature-shadow);
  padding: 22px 16px;
  width: 100%;
  min-width: 210px;
  max-width: 350px;
  border-left: 5px solid var(--nature-leaf);
  transition: border-color 0.2s;
}
.feature-item img {
  width: 38px;
  height: auto;
  margin-bottom: 6px;
  filter: grayscale(20%) sepia(12%) hue-rotate(-20deg) brightness(0.93) saturate(0.85);
}
.feature-item:hover {
  border-left: 5px solid var(--brand-secondary);
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 18px var(--nature-shadow);
  margin-bottom: 20px;
  color: #18341F;
  border-left: 5px solid var(--nature-clay);
  min-width: 240px;
  max-width: 600px;
  margin-top: 24px;
}
.testimonial-card p {
  color: #18341F;
  font-size: 1.1rem;
  line-height: 1.6;
}
.testimonial-card strong {
  color: var(--nature-bark);
}

@media (max-width: 600px) {
  .testimonial-card { padding: 14px; font-size: 0.98rem; }
}

/* LISTS, FAQ & TEXT BLOCKS */
ul li, ol li {
  margin-bottom: 12px;
  line-height: 1.6;
  position: relative;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--nature-leaf);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}
dt { font-weight: bold; margin-top: 18px; color: var(--brand-primary); }
dd { margin-left: 0.5em; margin-bottom: 12px; color: #284120; }

.text-section {
  margin-bottom: 28px;
  background: #FFF;
  border-radius: 16px;
  padding: 18px 20px 10px 20px;
  box-shadow: 0 1px 8px var(--nature-shadow);
}

/* CTA BLOCKS */
.cta {
  background: linear-gradient(90deg, #f1f5ee 70%, var(--nature-leaf) 120%);
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 3px 24px var(--nature-shadow);
  padding: 40px 16px;
  margin-bottom: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta .container .content-wrapper {
  align-items: center;
  gap: 16px;
}
.cta h2, .cta p { color: var(--brand-primary); }

/* HEADER & NAVIGATION */
header {
  background: #f5f3e7;
  box-shadow: 0 2px 12px var(--nature-shadow);
  position: sticky;
  top: 0; left: 0;
  width: 100%;
  z-index: 50;
  font-family: 'Montserrat', sans-serif;
}
header .container {
  padding-top: 13px;
  padding-bottom: 13px;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  gap: 18px;
}
header a img {
  height: 38px;
  width: auto;
}
.desktop-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.desktop-nav a {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 4px 9px;
  transition: background 0.2s, color 0.2s;
  border-radius: 12px;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  background: var(--nature-leaf);
  color: #fff;
}

.btn-primary {
  background: var(--nature-leaf);
  color: #fff;
  font-weight: 600;
  border-radius: 22px;
  padding: 11px 32px;
  letter-spacing: 0.03em;
  font-size: 1.1rem;
  margin-left: 18px;
  margin-top: 0;
  display: inline-block;
  transition: background 0.23s, box-shadow 0.18s, transform 0.18s;
  box-shadow: 0 2px 10px var(--nature-shadow);
  border: none;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--brand-secondary);
  box-shadow: 0 4px 16px rgba(34,80,36,0.13);
  transform: scale(1.025);
}

/* HAMBURGER MENU STYLES */
.mobile-menu-toggle {
  display: none;
  background: var(--nature-leaf);
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 14px;
  cursor: pointer;
  z-index: 99;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-secondary);
}
@media (max-width: 1020px) {
  .desktop-nav, .btn-primary { display: none !important; }
  .mobile-menu-toggle { display: flex !important; }
  header .container { gap: 0; justify-content: space-between; }
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: #f5f3e7;
  box-shadow: -8px 0 32px var(--nature-shadow);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.63,.21,.29,.98);
  z-index: 201;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 24px 0 0;
  font-size: 2.3rem;
  color: var(--brand-primary);
  background: rgba(76,172,94,0.09);
  border: none;
  border-radius: 12px;
  width: 48px; height: 48px;
  cursor: pointer;
  transition: background 0.17s;
}
.mobile-menu-close:hover { background: var(--nature-leaf); color: #fff; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-top: 30px;
}
.mobile-nav a {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 1.11rem;
  padding: 11px 22px;
  border-radius: 16px;
  width: 80vw;
  max-width: 320px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--nature-leaf);
  color: #fff;
}

/* HERO */
.hero {
  background: linear-gradient(120deg, #f8f9ed 80%, #4da56012 110%);
  padding: 60px 0 56px 0;
  border-radius: 0 0 60px 60px/0 0 14vw 14vw;
  margin-bottom: 72px;
  box-shadow: 0 4px 38px var(--nature-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .container { align-items: center; }
.hero .content-wrapper {
  align-items: center;
  gap: 20px;
  text-align: center;
}
.hero h1 { color: var(--nature-forest); }
.hero p { color: var(--brand-primary); font-size: 1.15rem; margin-bottom: 10px; }
.hero .btn-primary { margin-left: 0; margin-top: 10px; }
@media (max-width: 768px) {
  .hero { padding: 38px 0 30px 0; border-radius: 0 0 30px 30px/0 0 6vw 6vw; }
}

/* FOOTER */
footer {
  background: #e1e4d6;
  padding: 44px 0 20px 0;
  font-size: 0.97rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-top: 60px;
  border-radius: 30px 30px 0 0/12vw 12vw 0 0;
}
footer .container {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 28px;
}
footer img {
  height: 40px; width: auto; margin-bottom: 13px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--brand-primary);
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: var(--nature-leaf);
}
footer address {
  font-style: normal;
  color: var(--nature-earth);
  margin-bottom: 5px;
}
footer address a {
  color: var(--nature-bark);
  text-decoration: underline;
}
footer p {
  margin-top: 16px; color: #26432a; }

@media (max-width: 820px) {
  footer .container { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-nav { gap: 14px; }
}

/* ADDRESS ICONS */
address img {
  width: 20px; height: 20px;
  vertical-align: middle;
  margin-right: 8px;
  margin-bottom: 3px;
  filter: grayscale(18%) brightness(0.88);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: #fbfaf3;
  border-top: 1.5px solid #dad2b6;
  box-shadow: 0 -2px 12px var(--nature-shadow);
  z-index: 1100;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 14px 18px;
  font-size: 1rem;
  transition: transform 0.38s;
}
.cookie-banner.hide { transform: translateY(100%); }
.cookie-banner .cookie-text { color: #243F20; max-width: 80vw; }
.cookie-btns {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-left: 16px;
}
.cookie-btns button {
  padding: 9px 21px;
  background: var(--nature-leaf);
  color: #FFF;
  border: none;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1px 6px var(--nature-shadow);
  transition: background 0.18s, box-shadow 0.16s;
}
.cookie-btns .reject-btn {
  background: #aa402a;
}
.cookie-btns .settings-btn {
  background: var(--nature-earth);
}
.cookie-btns button:hover, .cookie-btns button:focus {
  background: var(--brand-secondary);
  color: #fff;
}

@media (max-width: 620px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 8px 14px 8px;
    font-size: 0.96rem;
  }
  .cookie-btns { margin-left: 0; margin-top: 12px; }
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(26,63,28,0.44);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.34s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 24px;
  max-width: 400px;
  width: 94vw;
  box-shadow: 0 7px 28px rgba(44,48,25,0.24);
  padding: 34px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
}
.cookie-modal .cookie-modal-content h3 { color: var(--nature-forest); margin-bottom: 5px; }
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--nature-leaf);
  width: 20px; height: 20px;
}
.cookie-category .locked {
  color: #798257;
  margin-left: 8px;
  font-size: 0.98em;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--danger);
  color: #fff;
  border: none;
  border-radius: 10px;
  width: 38px; height: 38px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal .modal-close:hover { background: var(--nature-earth); }
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal .modal-actions button {
  background: var(--nature-leaf);
  color: #fff;
  border-radius: 15px;
  border: none;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal .modal-actions button.reject-btn { background: var(--danger); }
.cookie-modal .modal-actions button:hover, .cookie-modal .modal-actions button:focus { background: var(--brand-secondary); color: #fff; }

/* FORMS (visual, static only for now) */
form, .contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 18px;
  background: #FFF;
  padding: 28px 16px;
  border-radius: 14px;
  box-shadow: 0 1px 10px var(--nature-shadow);
}
label { font-weight: 600; color: var(--nature-bark); margin-bottom: 8px; }
input, select, textarea {
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 10px;
  border: 1.5px solid #d9e5c6;
  background: #f9fcf4;
  transition: border-color 0.19s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--nature-leaf);
}

/* MICRO-INTERACTIONS */
.card, .feature-item, .testimonial-card, .btn-primary, .cookie-btns button, .cookie-modal .modal-actions button, .cookie-modal .modal-close, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow 0.2s, transform 0.14s, background 0.17s, border-color 0.19s;
}
.card:active, .feature-item:active, .btn-primary:active, .cookie-btns button:active, .mobile-menu-toggle:active { transform: scale(0.97); }

/* RESPONSIVE FLEX CONTAINERS */
@media (max-width: 900px) {
  .features-grid { flex-direction: column; align-items: stretch; }
  .feature-item { min-width: 180px; max-width: 100%; }
  .content-grid { flex-direction: column; gap: 16px; }
}
@media (max-width: 650px) {
  .container { padding: 0 4px; }
  section { padding: 10px 2px; }
}

/* ENSURE CRITICAL SPACING */
section, .card, .feature-item, .testimonial-card, .text-section {
  margin-bottom: 20px;
}

/* Z-INDEX SAFE LAYERING */
header, .mobile-menu, .cookie-banner, .cookie-modal { z-index: 100; }
.mobile-menu.open { z-index: 201; }
.cookie-modal.open { z-index: 1200; }
.cookie-banner { z-index: 1100; }

/* ORGANIC/NATURE VISUAL ACCENTS */
section, .card, .feature-item, .testimonial-card, .cta {
  /* Subtle organic shaped background overlay using SVG or background blob can be used in future image elements */
  /* For now, use border-radius & shadow */
}

/* ACCESSIBILITY & CONTRAST */
.testimonial-card, .card, .feature-item {
  background: #fff;
  color: #17301d;
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--nature-shadow);
}

/* MISC */
::-webkit-scrollbar { width: 10px; background: #f7f7f7; }
::-webkit-scrollbar-thumb { background: #b3cab6; border-radius: 6px; }

a:focus, button:focus, input:focus, select:focus, textarea:focus { outline: 2px solid var(--nature-leaf); outline-offset: 2px; }

/* Utility classes if needed */
.d-flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.gap-20 { gap: 20px; }

/* Hide visually but keep accessible */
.sr-only { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ENFORCE FLEXBOX ONLY - never use grid/columns */
/* No grid properties used! */
