/* 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,
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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #F6F6F6;
  color: #25333C;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
img, video {
  max-width: 100%;
  display: block;
  height: auto;
  border-radius: 10px;
  box-shadow: none;
}
a {
  color: #375940;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #3B9543;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

/* BRAND COLORS */
:root {
  --primary: #182B3A; /* Dark blue */
  --secondary: #B1C7D6; /* Light blue gray */
  --accent: #F6F6F6; /* Accent - off white */
  --nature-green: #3B9543; /* Rich leaf green */
  --earth-brown: #B99B6B; /* Sand/earth */
  --natural-beige: #F5F3EE; /* Soft beige */
  --wood: #C9B89C; /* natural wood */
  --shadow: rgba(56,75,61,0.05);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.125rem;
}
p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #25333C;
  margin-bottom: 14px;
}
.subheadline {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--nature-green);
  margin-bottom: 18px;
}

/* BUTTONS */
.cta-button, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--nature-green);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 15px var(--shadow);
  transition: background 0.2s, box-shadow 0.2s, transform 0.14s;
  text-decoration: none;
  outline: none;
  margin-top: 10px;
  margin-bottom: 10px;
}
.cta-button:hover, .cta-button:focus,
.cookie-btn:hover, .cookie-btn:focus {
  background: #538D4E;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(59,149,67,0.14);
}

/* HEADER */
header {
  background: var(--natural-beige);
  border-bottom: 2px solid var(--wood);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px;
  gap: 20px;
}
header img {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 6px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.18s;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: var(--nature-green);
  transition: width 0.19s;
  position: absolute; left: 0; bottom: -2px;
  border-radius: 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--nature-green);
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}


/* HERO SECTION */
.hero-section {
  background: linear-gradient(110deg, #F6F6F6 80%, #c7e0da 100%);
  border-radius: 0 0 50px 50px / 0 0 14px 14px;
  box-shadow: 0 8px 36px var(--shadow);
  margin-bottom: 60px;
  padding: 52px 0 62px 0;
}
.hero-section .container {
  flex-direction: row;
  align-items: center;
}
.hero-section h1 {
  color: var(--nature-green);
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.hero-section .subheadline {
  margin-bottom: 28px;
}
.hero-section .cta-button {
  margin-top: 16px;
}

/* FEATURE GRID - ORGANIC SHAPES */
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 0 0;
}
.feature-item, .service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--accent);
  border-radius: 42px 18px 32px 18px / 26px 38px 22px 34px;
  box-shadow: 0 4px 16px var(--shadow);
  padding: 28px 26px 24px 26px;
  width: 100%;
  max-width: 340px;
  min-width: 240px;
  gap: 15px;
  margin-bottom: 20px;
  border: 1px solid var(--wood);
  transition: box-shadow 0.19s, transform 0.16s;
}
.feature-item:hover, .feature-item:focus,
.service-item:hover, .service-item:focus {
  box-shadow: 0 8px 32px rgba(59,149,67,0.12);
  transform: translateY(-5px) scale(1.02);
  border-color: var(--nature-green);
}
.feature-item img, .service-item img {
  width: 52px;
  height: 52px;
  border-radius: 22px;
  background: var(--natural-beige);
  box-shadow: 0 3px 12px var(--shadow);
  padding: 7px;
  margin-bottom: 6px;
}
.price {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--nature-green);
  font-weight: 600;
  font-size: 1.12rem;
  margin-top: 8px;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 34px 18px 28px 18px / 20px 28px 24px 32px;
  box-shadow: 0 3px 18px var(--shadow);
  margin-bottom: 20px;
  border-left: 8px solid var(--nature-green);
  border-right: 1px solid var(--wood);
  max-width: 700px;
}
.testimonial-card p {
  font-size: 1.18rem;
  color: #1c2913;
  margin-bottom: 8px;
  font-style: italic;
}
.testimonial-meta {
  color: #598063;
  font-size: 1rem;
  font-style: normal;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  opacity: 0.93;
}

/* BLOG */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}
.blog-article {
  background: var(--accent);
  border-radius: 27px 18px 31px 22px / 18px 21px 16px 32px;
  box-shadow: 0 3px 14px var(--shadow);
  padding: 24px 18px 24px 20px;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  border: 1px solid var(--wood);
  transition: box-shadow 0.18s, border 0.2s;
}
.blog-article h2 {
  color: var(--nature-green);
  font-size: 1.23rem;
}
.blog-link {
  color: var(--nature-green);
  text-decoration: underline;
  font-weight: 600;
  margin-top: 10px;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  transition: color 0.15s;
}
.blog-link:hover, .blog-link:focus {
  color: #182B3A;
}
.featured-post {
  background: #E9F3ED;
  border-radius: 23px 40px 21px 30px / 26px 21px 28px 38px;
  box-shadow: 0 2px 10px var(--shadow);
  padding: 22px 18px;
  margin-top: 16px;
  color: var(--primary);
}

/* FOOTER */
footer {
  background: var(--secondary);
  color: var(--primary);
  padding: 35px 0 22px 0;
  border-radius: 30px 30px 0 0 / 18px 18px 0 0;
  box-shadow: 0 -4px 24px var(--shadow);
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-menu {
  font-size: 1rem;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-menu a {
  color: var(--primary);
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  position: relative;
  transition: color 0.12s;
  margin-right: 8px;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--nature-green);
}
footer .text-section {
  font-size: 1.01rem;
  color: #24362A;
}
footer a {
  color: var(--nature-green);
}
footer .copyright {
  margin-top: 20px;
  font-size: 0.98rem;
  opacity: 0.64;
}

/* TEXT SECTIONS, LISTS, CONTENTS */
.text-section {
  margin-bottom: 20px;
  font-size: 1.08rem;
  color: #222;
}
.text-section ul {
  margin: 10px 0 16px 0;
}
.text-section li {
  margin-bottom: 7px;
}
.text-section b {
  color: var(--primary);
}

/* RESPONSIVE LAYOUTS & FLEXB0X STRUCTURE */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container,
.blog-list,
.feature-grid,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FORMS (future-proof and contact, if added) */
input, textarea, select {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #C9B89C;
  background: #fcfcfc;
  font-size: 1.08rem;
  margin-bottom: 18px;
  width: 100%;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.7px solid var(--nature-green);
  outline: none;
  background: #f5fff7;
}
label {
  display: block;
  margin-bottom: 7px;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--nature-green);
  color: #fff;
  font-size: 2.1rem;
  padding: 6px 18px;
  border: none;
  border-radius: 18px;
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 120;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.19s;
  box-shadow: 0 2px 10px var(--shadow);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #375940;
  outline: none;
  box-shadow: 0 4px 24px rgba(59,149,67,0.11);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(110deg, #e5ecd9 80%, #d4e7cd 100%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.75,-0.02,.42,1.01);
  box-shadow: 12px 0 30px rgba(56,75,61,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--nature-green);
  border: none;
  font-size: 2.2rem;
  color: #fff;
  border-radius: 18px;
  padding: 9px 24px;
  margin: 22px 24px 10px auto;
  cursor: pointer;
  box-shadow: 0 2px 10px var(--shadow);
  transition: background 0.16s;
  z-index: 200;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #387d3c;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  padding: 14px 0;
  width: 100%;
  text-align: center;
  border-radius: 13px;
  transition: background 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(59,149,67,0.11);
  color: var(--nature-green);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container { max-width: 960px; }
  .feature-grid, .service-list { justify-content: flex-start; gap: 20px; }
}
@media (max-width: 900px) {
  .container { max-width: 100%; }
  .feature-grid, .service-list, .blog-list { gap: 14px; }
  .feature-item,.service-item,.blog-article { max-width: 100%; min-width: 0; }
}
@media (max-width: 768px) {
  .content-wrapper { gap: 24px; }
  section, .section { padding: 24px 4vw; margin-bottom: 42px; }

  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .main-nav { display: none !important; }
  .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid, .service-list, .blog-list {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .testimonial-card, .blog-article, .feature-item, .service-item, .featured-post {
    max-width: 100%;
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-menu { flex-direction: column; gap: 10px; }
  .footer-menu a { margin-right: 0; }
}
@media (max-width: 500px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.12rem; }
  .hero-section {
    padding: 20px 0 30px 0;
    border-radius: 0 0 24px 24px / 0 0 6px 6px;
  }
  .feature-grid, .service-list, .blog-list {
    gap: 10px;
  }
  section, .section{
    padding: 15px 2vw;
    margin-bottom: 32px;
  }
  input, textarea, select {
    font-size: 1rem;
    padding: 10px 11px;
    margin-bottom: 10px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe9;
  color: #233b1e;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  border-top: 2.5px solid var(--wood);
  box-shadow: 0 -7px 32px rgba(185, 155, 107, .13);
  padding: 24px 18px 22px 22px;
  z-index: 250;
  font-size: 1.02rem;
  animation: cookieBannerIn .47s cubic-bezier(.6,.43,.34,1.09);
}
@keyframes cookieBannerIn {
  from {transform: translateY(130px); opacity:0;}
  to   {transform: translateY(0);   opacity:1;}
}
.cookie-banner p {
  margin-right: auto;
}
.cookie-btn {
  margin-right: 16px;
}
.cookie-settings-btn {
  background:transparent;
  color: var(--nature-green);
  border: 2px solid var(--nature-green);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 18px;
  margin: 0 8px 0 0;
  border-radius: 28px;
  cursor: pointer;
  transition: background 0.1s, color 0.13s;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--nature-green);
  color: #fff;
}
@media (max-width:600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 6px 12px 10px;
    gap: 10px;
    font-size: 0.98rem;
  }
  .cookie-btn, .cookie-settings-btn {
    width: 100%;
    margin-bottom: 7px;
    margin-right: 0;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 300;
  left: 0; top: 0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(36,50,18,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieOverlay .23s cubic-bezier(.34,.49,.47,1.2);
}
@keyframes cookieOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 30px 24px 32px 28px / 19px 32px 27px 38px;
  box-shadow: 0 13px 54px rgba(56,75,61,0.19);
  padding: 35px 46px;
  max-width: 420px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 25px;
  animation: cookieModalIn .29s cubic-bezier(.38,.48,.46,1.13);
  position: relative;
}
@keyframes cookieModalIn {
  from {transform: translateY(54px); opacity:0;}
  to   {transform: translateY(0); opacity:1;}
}
.cookie-modal h2 {
  color: var(--nature-green);
  margin-bottom: 8px;
  font-size: 1.31rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-toggle {
  width: 38px; height: 22px;
  appearance: none;
  background: #c7ddc4;
  border-radius: 18px;
  transition: background 0.15s;
  position: relative;
  outline: none;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--nature-green);
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px; top: 2.5px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(59, 149, 67, 0.09);
  transition: left 0.15s;
}
.cookie-toggle:checked::before {
  left: 19px;
}
.cookie-modal .cookie-btn {
  width: 100%;
  margin-bottom: 0;
}
.cookie-modal .cookie-cancel {
  background: transparent;
  border: 2px solid var(--nature-green);
  color: var(--nature-green);
  margin-top: 9px;
  transition: background 0.15s, color 0.16s;
}
.cookie-modal .cookie-cancel:hover, .cookie-modal .cookie-cancel:focus {
  color: #fff;
  background: var(--nature-green);
}

@media (max-width:500px) {
  .cookie-modal {
    padding: 14px 6vw 18px 6vw;
    max-width: 98vw;
  }
}

/* ANIMATIONS / INTERACTIONS */
.cta-button, .cookie-btn, .cookie-settings-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.16s, color 0.13s, box-shadow 0.13s, transform 0.14s;
}
.feature-grid > .feature-item, .service-list > .service-item, .blog-list > .blog-article, .testimonial-card {
  transition: box-shadow 0.19s, border 0.17s, transform 0.17s;
}
.feature-item:hover, .service-item:hover, .blog-article:hover {
  box-shadow: 0 8px 36px rgba(59,149,67,0.14);
  transform: translateY(-6px) scale(1.015);
  border-color: var(--nature-green);
}
.testimonial-card:hover {
  border-left: 13px solid var(--nature-green);
  box-shadow: 0 7px 28px rgba(59,149,67,0.08);
}

/* SECTION SPACING CORRECTIONS */
section > .container > .content-wrapper > * + * {
  margin-top: 16px;
}

/* Z-INDEX / STACKING CONTEXTS */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 100;
}
.mobile-menu { z-index: 150; }
.cookie-banner { z-index: 250; }
.cookie-modal-overlay { z-index: 300; }

/* GENERAL CLASSES FOR ORGANIC/NATURAL TOUCH */
.organic-bg {
  background: linear-gradient(115deg, #F6F6F6 70%, #e3f5e4 100%);
  border-radius: 45px 18px 42px 22px / 24px 31px 15px 34px;
}

/* Misc fixes for paragraphs & spacing */
.text-section p, .text-section ul, .text-section ol {
  margin-bottom: 14px;
}
.text-section ul, .blog-article ul, .feature-item ul {
  padding-left: 20px;
  list-style: disc inside;
}
.text-section li:last-child, .feature-item li:last-child {
  margin-bottom: 0;
}

/* Hide content cards that get position: absolute accidentally */
.card[style*="position: absolute"] {
  position: static !important;
}

/* Accessibility: Focus states */
a:focus, .cta-button:focus, .cookie-btn:focus, .cookie-settings-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--nature-green);
  outline-offset: 2px;
}

/* Utility */
.hide { display: none !important; }
