/* CSS RESET & BASE STYLES: Normalize, box model, typography */
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,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F4F7F4;
  color: #383F2B;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #29506F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #CB8C06;
  outline: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #264C29;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.16;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
strong {
  color: #29506F;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  margin-bottom: 20px;
}

/* Nature Organic Palette and Surfaces */
:root {
  --brand-primary: #29506F;
  --brand-secondary: #F2F2F2;
  --brand-accent: #CB8C06;
  --organic-green: #91A37A;
  --earth-beige: #E9E6DC;
  --earth-brown: #785A43;
  --organic-cream: #FAF8F4;
  --dark-text: #254221;
  --light-bg: #FBFBF9;
}

body {
  background: var(--light-bg);
  color: var(--dark-text);
}

/* HEADER & NAVIGATION */
header {
  background: var(--organic-cream);
  border-bottom: 1.5px solid var(--organic-green);
  padding: 0;
  width: 100%;
  z-index: 12;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header a img {
  height: 44px;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
nav a {
  font-size: 1rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  color: var(--brand-primary);
  padding: 8px 10px;
  border-radius: 22px;
  transition: background 0.18s, color 0.18s;
}
nav a.cta.primary {
  background: var(--brand-accent);
  color: #fff;
  padding: 9px 28px;
  margin-left: 10px;
  border-radius: 24px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 2px 12px 0 rgba(203, 140, 6, 0.08);
  transition: background 0.2s;
}
nav a.cta.primary:hover,
.cta.primary:focus {
  background: #B37B04;
  color: #fff;
}
nav a.cta.secondary {
  background: var(--organic-green);
  color: #fff;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 24px;
  margin-top: 16px;
  margin-bottom: 8px;
  transition: background 0.2s;
}
nav a.cta.secondary:hover,
.cta.secondary:focus {
  background: var(--brand-primary);
  color: #fff;
}
nav a:hover,
nav a:focus {
  background: var(--earth-beige);
  color: var(--brand-accent);
}
.mobile-menu-toggle {
  display: none;
  background: var(--brand-accent);
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  padding: 6px 14px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px 0 rgba(203,140,6,0.10);
  z-index: 23;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #B37B04;
  color: #fff;
}

/* MOBILE NAVIGATION */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(155deg,var(--organic-cream) 70%, var(--organic-green) 100%);
  box-shadow: 0 0 32px 0 rgba(0,0,0,0.18);
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.87,-0.11,.19,1.08);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  color: var(--brand-primary);
  font-size: 2.1rem;
  padding: 18px 18px 0 18px;
  border: none;
  align-self: flex-end;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 32px 0 0 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-primary);
  padding: 12px 0;
  width: 100%;
  border-radius: 16px;
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--earth-beige);
  color: var(--brand-accent);
}

@media (max-width: 990px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, var(--organic-cream) 70%, var(--earth-beige) 100%);
  border-bottom-left-radius: 72px 50px;
  border-bottom-right-radius: 32px 18px;
  box-shadow: 0 4px 36px 0 rgba(41,80,111,0.05);
  margin-bottom: 60px;
  padding: 48px 0 34px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero h1 {
  color: var(--brand-primary);
  font-size: 2.5rem;
}
.hero p {
  color: var(--organic-green);
  font-size: 1.15rem;
}

/* FEATURES SECTION */
.features .content-wrapper {
  align-items: center;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.feature-grid li {
  background: var(--secondary);
  border-radius: 28px 34px 24px 42px/26px 32px 22px 34px;
  box-shadow: 0 2px 12px 0 rgba(41,80,111,0.06);
  padding: 30px 30px 24px 30px;
  flex: 1 1 230px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  margin-top: 6px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature-grid li:hover {
  box-shadow: 0 4px 24px 0 rgba(41,80,111,0.13);
  transform: translateY(-6px) scale(1.025);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  background: var(--light-bg);
  border-radius: 14px;
}
.feature-grid h3 {
  color: var(--organic-green);
}
.feature-grid p {
  font-size: 1rem;
  color: #383F2B;
}

/* SERVICE SECTION, CARDS & CTA */
.services ul,
.about-features .feature-list,
.services-detail .service-list,
.case-studies .project-list,
.posts .post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.services ul li,
.about-features .feature-list li,
.services-detail .service-list li, 
.case-studies .project-list li,
.posts .post-list li {
  background: var(--organic-cream);
  border-radius: 24px 30px 18px 32px/22px 28px 16px 30px;
  box-shadow: 0 2px 12px 0 rgba(145,163,122,0.07);
  flex: 1 1 260px;
  min-width: 210px;
  max-width: 320px;
  padding: 24px 22px 22px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.15s;
}
.services ul li:hover,
.about-features .feature-list li:hover,
.services-detail .service-list li:hover,
.case-studies .project-list li:hover,
.posts .post-list li:hover {
  box-shadow: 0 6px 28px 0 rgba(41,80,111,0.11);
  transform: translateY(-5px) scale(1.018);
}
.services .cta.secondary {
  margin-top: 8px;
}
.service-price {
  color: var(--brand-accent);
  font-weight: 700;
  font-size: 1.08rem;
  margin-top: 6px;
}

/* TESTIMONIALS */
.testimonials {
  background: var(--earth-beige);
  border-radius: 32px 68px 0 0/38px 64px 0 0;
  padding-top: 48px;
  margin-bottom: 60px;
}
.testimonials h2 {
  text-align: center;
  color: var(--brand-primary);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: 26px 34px 20px 30px/18px 27px 14px 22px;
  box-shadow: 0 2px 20px 0 rgba(46, 92, 34, 0.09);
  padding: 23px 28px 18px 28px;
  margin-bottom: 20px;
  margin-top: 10px;
  max-width: 480px;
  color: var(--dark-text);
}
.testimonial-card p {
  color: var(--brand-primary);
  font-size: 1.07rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  color: var(--brand-accent);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

/* ABOUT/LEGAL/PAGES sections */
.about-short, .about-philosophy, .about-features, .legal {
  background: var(--organic-cream);
  border-radius: 30px 60px 18px 38px/28px 55px 15px 32px;
}
.text-section ul {
  list-style: disc inside;
  margin-left: 0;
  padding-left: 18px;
}
.text-section h2 {
  margin-top: 18px;
}

/* CTA Banner */
.cta-banner, .newsletter-signup, .contact-teaser {
  background: var(--organic-green);
  color: #fff;
  border-radius: 36px 24px 36px 54px/30px 18px 40px 58px;
  box-shadow: 0 2px 22px 0 rgba(41, 80, 111, 0.07);
  padding: 36px 28px;
  margin-bottom: 60px;
  text-align: center;
}
.cta-banner h2, .newsletter-signup h2, .contact-teaser h2 {
  color: #fff;
}
.cta.small {
  font-size: 0.98rem;
  padding: 8px 20px;
}

/* BUTTONS */
.cta {
  display: inline-block;
  background: var(--brand-primary);
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 24px;
  padding: 11px 32px;
  box-shadow: 0 2px 14px 0 rgba(41,80,111,0.12);
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.13s, box-shadow 0.18s, transform 0.12s;
}
.cta:focus {
  outline: 2px dashed var(--brand-accent);
  outline-offset: 2px;
}
.cta.secondary {
  background: var(--brand-accent);
  color: #fff;
}
.cta.small {
  font-size: 0.96rem;
  padding: 8px 18px;
}
.cta:hover, .cta:focus {
  background: #193755;
  color: #FFF;
  box-shadow: 0 4px 22px 0 rgba(41,80,111,0.15);
  transform: translateY(-2.5px) scale(1.04);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #B37B04;
}

/* FOOTER */
footer {
  background: var(--organic-cream);
  border-top: 1.5px solid var(--organic-green);
  padding: 24px 0 12px 0;
}
.footer-menu {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}
.footer-menu a {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 4px 8px;
  border-radius: 10px;
  transition: background 0.16s, color 0.15s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  background: var(--earth-beige);
  color: var(--brand-accent);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  font-size: 0.95rem;
  color: var(--organic-green);
}
.footer-brand img {
  height: 32px;
  margin-bottom: 8px;
}

/* LEGAL PAGES (consistent readable style) */
.legal {
  background: var(--organic-cream);
  border-radius: 32px 42px 24px 40px/25px 35px 17px 20px;
  margin-bottom: 60px;
  padding: 40px 22px;
}

/* CARD/CONTENT CONTAINERS (MANDATORY PATTERNS) */
.card-container {
  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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*********** COOKIE CONSENT BANNER & MODAL ***********/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: var(--earth-brown);
  color: #fff;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 26px 6vw 24px 6vw;
  box-shadow: 0 -3px 24px 0 rgba(44,85,41,0.16);
  flex-wrap: wrap;
  font-size: 1rem;
  transition: transform 0.28s cubic-bezier(.87,-0.11,.19,1.08), opacity 0.29s;
}
.cookie-banner.hide {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-message {
  flex: 1 1 260px;
  font-family: 'Open Sans', sans-serif;
  color: #fff;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button,
.cookie-banner .cookie-settings-btn {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  border: none;
  cursor: pointer;
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: 28px;
  font-weight: 700;
  margin: 0;
  transition: background 0.2s, color 0.19s, box-shadow 0.15s;
}
.cookie-banner .accept {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #193755;
}
.cookie-banner .reject {
  background: #fff;
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary);
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #d2e7c7;
  color: #254221;
}
.cookie-banner .cookie-settings-btn {
  background: var(--organic-green);
  color: #fff;
}
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner .cookie-settings-btn:focus {
  background: #254221;
  color: #fff;
}

/* COOKIE MODAL (centered over page) */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(41,80,111,0.24);
  backdrop-filter: blur(1px);
  z-index: 22000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 32px 40px 26px 36px/24px 30px 18px 28px;
  max-width: 430px;
  padding: 38px 34px 32px 34px;
  color: var(--dark-text);
  box-shadow: 0 6px 40px 0 rgba(41,80,111,0.16);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.06rem;
  position: relative;
}
.cookie-modal-content h3 {
  color: var(--brand-primary);
  margin-bottom: 12px;
  font-size: 1.24rem;
}
.cookie-modal-content ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  margin-left: 4px;
}
.cookie-modal-content li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}
.cookie-category-toggle {
  appearance: none;
  width: 42px;
  height: 20px;
  background: var(--earth-beige);
  border-radius: 18px;
  position: relative;
  outline: none;
  transition: background 0.16s;
  cursor: pointer;
  margin-right: 6px;
}
.cookie-category-toggle:checked {
  background: var(--brand-primary);
}
.cookie-category-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 15px;
  height: 14px;
  border-radius: 11px;
  background: #fff;
  transition: transform 0.17s;
}
.cookie-category-toggle:checked:before {
  transform: translateX(22px);
}
.cookie-modal-content .category-name {
  font-weight: 600;
  margin-right: 14px;
  color: var(--brand-primary);
}
.cookie-modal-content .cookie-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 14px;
  background: transparent;
  color: var(--brand-accent);
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: var(--brand-primary);
}


/* RESPONSIVE: MOBILE-FIRST, FLEX COLUMNS ON SMALL SCREENS */
@media (max-width: 768px) {
  .container { max-width: 96vw; padding-left: 12px; padding-right: 12px; }
  .content-wrapper,.feature-grid,.services ul,.service-list,.feature-list,.project-list,.post-list {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch;
  }
  .hero {
    border-radius: 0 0 44px 22px/0 0 36px 18px;
    padding: 40px 0 25px 0;
  }
  .features, .testimonials, .about-short, .about-philosophy, .about-features, .services, .services-detail, .case-studies, .newsletter-signup, .cta-banner, .contact-info, .contact-teaser {
    padding-left: 6px;
    padding-right: 6px;
  }
  .testimonial-card, .feature-grid li, .card, .services ul li, .service-list li, .feature-list li, .project-list li, .post-list li {
    max-width: 96vw !important;
    align-items: flex-start;
    padding: 18px 10px 14px 12px;
  }
  .testimonial-card {
    margin-left: 0;
    margin-right: 0;
  }
  .about-short, .about-philosophy, .about-features, .legal {
    border-radius: 18px 34px 10px 16px/11px 22px 6px 8px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .cta-banner, .newsletter-signup, .contact-teaser {
    border-radius: 28px 14px 24px 34px/23px 8px 28px 32px;
    padding: 24px 10px;
  }
  .footer-menu {
    flex-direction: column;
    gap: 12px;
  }
  .footer-brand {
    font-size: 0.91rem;
  }
  .hero h1 { font-size: 1.45rem; }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: 1rem; }
  .mobile-nav {
    margin: 28px 0 0 16px;
  }
}


/* MISC/UTILITY */
[hidden] { display:none!important; }
.section:last-child {margin-bottom:0 !important;}

/**** Smooth fade/slide animation helpers ****/
.fade-in {
  animation: fade-in 0.58s;
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.slide-in {
  animation: slide-in 0.44s cubic-bezier(.87,-0.11,.19,1.08);
}
@keyframes slide-in {
  from { transform: translateX(-32vw); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
.slide-up {
  animation: slide-up 0.55s cubic-bezier(.87,-0.11,.19,1.08);
}
@keyframes slide-up {
  from { transform: translateY(110px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* FOCUS STATES for accessibility */
:focus-visible {
  outline: 2.5px dashed var(--brand-accent);
  outline-offset: 2px;
}

/****** Custom scrollbar for nature look *****/
::-webkit-scrollbar {
  width: 13px;
  background: var(--earth-beige);
}
::-webkit-scrollbar-thumb {
  background: var(--organic-green);
  border-radius: 10px;
}

/* Hide unwanted overlays for JS-disabled users (mobile menu & cookie modal) */
.no-js .mobile-menu,
.no-js .cookie-modal {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
