/*! RESET & BASELINE */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Roboto', Georgia, serif;
  font-size: 16px;
  background: #FAFAF8;
  color: #384038;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: #336633; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #215221; text-decoration: underline; }

/* FONT SCALE */
h1, .hero h1, .about-preview h2, .services-preview h2, .contact-cta h2, .thank-you h1 {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1D331B;
  line-height: 1.15;
  margin-bottom: 24px;
}
@media (min-width: 900px) {
  h1, .hero h1, .about-preview h2, .services-preview h2, .contact-cta h2, .thank-you h1 {
    font-size: 2.8rem;
  }
}
h2 {
  font-family: 'Montserrat', Georgia, serif;
  color: #274327;
  font-size: 1.55rem;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.13rem;
  font-weight: 600;
  color: #384038;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: Georgia, Times, Times New Roman, serif;
  font-weight: 500;
  color: #384038;
}
strong { font-weight: 700; color: #264024; }
p, ul, ol, li, blockquote, cite, address {
  font-family: 'Roboto', Georgia, serif;
  margin-bottom: 16px;
  color: #384038;
}
ul, ol { padding-left: 20px; }
li {
  margin-bottom: 8px;
}
blockquote {
  font-style: italic;
  background: #F8F9F5;
  border-left: 4px solid #BADA55;
  padding: 16px 24px;
  margin: 0 0 12px 0;
}
cite {
  display: block;
  font-size: 1em;
  color: #336633;
  margin-bottom: 0;
  font-style: normal;
}

/* BUTTONS & CTA */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: #274327;
  border: 1.5px solid #BADA55;
  border-radius: 30px;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 32px;
  margin-top: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(100,90,60,0.045);
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
  text-align: center;
  min-width: 180px;
}
.cta.primary {
  background: #336633;
  color: #FFFFFF;
  border: 1.5px solid #336633;
  box-shadow: 0 3px 14px 0 rgba(51,102,51,0.08);
}
.cta:hover, .cta:focus {
  background: #BADA55;
  color: #1D331B;
  border-color: #336633;
  box-shadow: 0 8px 28px 0 rgba(51,102,51,0.12);
}
.cta.primary:hover, .cta.primary:focus {
  background: #215221;
  color: #FFFFFF;
  border-color: #BADA55;
}

button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.3rem;
  background: transparent;
  border: none;
  color: #336633;
  cursor: pointer;
  padding: 8px;
  margin: 0 0 0 6px;
  border-radius: 4px;
  transition: background 0.2s;
}
button:focus, button:hover, .mobile-menu-toggle:focus, .mobile-menu-toggle:hover, .mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #F4F8F0;
}

/* LAYOUT: CONTAINER, FLEXBOX, SPACING */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 1px 8px 0 rgba(60,60,60,0.04);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.card {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(60,70,55,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  gap: 12px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  border-radius: 17px;
  background: #FFFFFF;
  box-shadow: 0 6px 28px 0 rgba(80,88,65,0.07);
  margin-bottom: 24px;
  border-left: 4px solid #BADA55;
  min-width: 240px;
  max-width: 560px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #FFFFFF;
  border-bottom: 1px solid #E5EADC;
  box-shadow: 0 2px 10px 0 rgba(80,100,80,0.03);
  z-index: 91;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 72px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 18px;
}
.logo img {
  min-width: 36px;
  max-height: 45px;
  height: 45px;
  width: auto;
}
.main-nav {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 16px;
}
.main-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  padding: 7px 14px;
  border-radius: 7px;
  color: #224422;
  transition: background 0.2s, color 0.17s;
  font-weight: 500;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4F8F0;
  color: #336633;
}

header .cta.primary {
  margin-left: 12px;
}
.mobile-menu-toggle {
  margin-left: auto;
  display: none;
  background: #BADA55;
  color: #274327;
  font-size: 2rem;
  border-radius: 7px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  z-index: 97;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(51,102,51,0.05);
}

/* MOBILE NAVIGATION */
.mobile-menu {
  position: fixed;
  z-index: 98;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(52,64,36,0.86);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.82,0,.5,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #fff;
  background: transparent;
  border: none;
  align-self: flex-start;
  margin: 22px 30px 0 0;
  z-index: 99;
}
.mobile-nav {
  background: #FFFFFF;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  margin-left: auto;
  box-shadow: -4px 0 28px 0 rgba(60,80,60,0.10);
  padding: 56px 34px 32px 28px;
  min-width: 250px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.13rem;
  color: #264024;
  padding: 12px 0;
  border-radius: 6px;
  transition: background 0.2s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #BADA55;
  color: #224422;
}

@media (max-width: 1020px) {
  header .container { gap: 12px; }
  .main-nav { gap: 10px; }
  .logo { margin-right: 8px; }
  .main-nav a { font-size: 0.98rem; padding: 5px 9px; }
  header .cta.primary { padding: 9px 16px; font-size: 0.92rem; min-width: 120px; margin-left: 6px; }
}
@media (max-width: 900px) {
  header .container {
    padding-right: 10px;
    padding-left: 10px;
  }
  .main-nav { display: none; }
  header .cta.primary { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* MAIN LAYOUT & SECTIONS */
main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #FAFAF8;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}
@media (min-width: 900px) {
  section {
    padding: 60px 0;
    margin-bottom: 75px;
  }
}
.hero {
  background: linear-gradient(100deg,#FAFAF8 70%, #BADA55 94%, #FAFAF8 100%);
  border-bottom: 1.5px solid #E5EADC;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 670px;
  align-items: flex-start;
  padding: 40px 0;
  gap: 18px;
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  padding-top: 18px;
}
.feature {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(80,110,70,0.07);
  padding: 27px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 333px;
  transition: box-shadow 0.19s, transform 0.17s;
}
.feature img { height: 44px; width: auto; margin-bottom: 6px; }
.feature:hover, .feature:focus {
  box-shadow: 0 10px 25px 0 rgba(51,102,51,0.16);
  transform: translateY(-3px) scale(1.018);
}

/* CARDS, CASES, ARTICLE TEASERS */
.case, .article-teaser {
  background: #F8F9F5;
  border-radius: 14px;
  box-shadow: 0 1px 6px 0 rgba(110,130,110,0.06);
  padding: 23px 20px 18px 20px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-teaser:hover {
  box-shadow: 0 4px 17px 0 rgba(51,80,51,0.09);
  background: #E9F3DC;
}
.tag {
  display: inline-block;
  background: #E9F3DC;
  color: #274327;
  border-radius: 15px;
  font-size: 0.98rem;
  padding: 5px 13px;
  margin-right: 7px;
  margin-bottom: 7px;
}

/* CONTACT / INFO BOXES */
.contact-info, .contact-info-brief {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px;
  background: #F8F9F5;
  border-radius: 14px;
  padding: 14px 22px;
  font-size: 1.07rem;
  color: #384038;
  margin-top: 13px;
}
.contact-info img, .contact-info-brief img { height: 22px; width: 22px; margin-right: 5px; }

/* TESTIMONIALS */
.testimonials {
  background: #F8F9F5;
}
.testimonials .content-wrapper {
  gap: 24px;
  align-items: flex-end;
}
.testimonial-card blockquote {
  color: #214921;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.13rem;
  background: none;
  border: none;
  margin: 0; padding: 0;
}
.testimonial-card cite {
  color: #366438;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  font-style: normal;
  margin-top: 4px;
}

/* FOOTER */
footer {
  background: #E9F3DC;
  border-top: 1.5px solid #E5EADC;
  padding: 36px 0 18px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 5px;
}
.footer-nav a {
  font-family: 'Montserrat', Georgia, serif;
  color: #3E533E;
  font-size: 1rem;
  opacity: 0.91;
  transition: color 0.16s, opacity 0.2s;
}
.footer-nav a:hover {
  color: #224422;
  opacity: 1;
}
footer address {
  font-style: normal;
  color: #384038;
  font-size: 1rem;
  opacity: 0.82;
  max-width: 260px;
  margin-top: 6px;
}
/* Responsive Fixes for Footer */
@media (max-width: 900px) {
  footer .container { flex-direction: column; gap: 20px; align-items: flex-start; }
}
/* --- UTILITIES & ELEMENTS --- */
hr {
  border: none;
  border-top: 1.5px solid #E5EADC;
  margin: 32px 0;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .section, section { padding: 26px 0; margin-bottom: 36px; }
  .hero .content-wrapper { padding: 22px 0; }

  .features .feature-grid { flex-direction: column; gap: 20px; }
  .feature { min-width: 0; max-width: 100%; }
  .card-container { flex-direction: column; gap: 18px; }
  .card { padding: 17px 6px; }
  .content-grid { flex-direction: column; gap: 10px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 15px; }
  footer .container { flex-direction: column; gap: 20px; align-items: flex-start; }
  .testimonial-card { min-width: unset; max-width: 100%; padding: 14px; }
  .feature, .case, .article-teaser { padding: 16px 7px; }
  .contact-info, .contact-info-brief { padding: 8px 8px; font-size: 0.99rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.07rem; }
  .cta, .cta.primary { padding: 8px 10px; font-size: 0.99rem; }
  .logo img { height: 29px; min-width: 22px; }
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  background: #FFFFFF;
  border-top: 2.5px solid #BADA55;
  box-shadow: 0 -6px 28px 0 rgba(50,66,50,0.07);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  transition: transform 0.5s cubic-bezier(.17,.67,.83,.67);
  transform: translateY(100%);
  opacity: 1;
  font-family: 'Roboto', serif;
  font-size: 1.05rem;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner .cookie-title {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #264024;
  margin-bottom: 6px;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.cookie-accept-btn, .cookie-reject-btn, .cookie-settings-btn {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 25px;
  border: 1.5px solid #BADA55;
  background: #FFFFFF;
  color: #336633;
  font-weight: 700;
  box-shadow: 0 1px 6px 0 rgba(50,70,50,0.04);
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.12s;
}
.cookie-accept-btn {
  background: #336633;
  color: #fff;
  border-color: #336633;
}
.cookie-accept-btn:hover, .cookie-accept-btn:focus {
  background: #BADA55;
  color: #264024;
  border-color: #BADA55;
  box-shadow: 0 8px 22px 0 rgba(51,102,51,0.09);
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus, .cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #F4F8F0;
  color: #222F22;
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 15px 7px;
    font-size: 0.96rem;
  }
  .cookie-banner-buttons { gap: 7px; }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(52, 64, 36, 0.65);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 12px 45px 0 rgba(51,66,51,0.14);
  padding: 32px 38px;
  min-width: 310px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-family: 'Roboto', Georgia, serif;
}
.cookie-modal-title {
  font-size: 1.34rem;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  color: #264024;
  margin-bottom: 4px;
}
.cookie-modal-group {
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal-group label {
  font-family: 'Roboto', Georgia, serif;
  font-size: 1rem;
  color: #264024;
}
.cookie-modal-switch {
  width: 38px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-modal-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal-slider {
  position: absolute;
  cursor: pointer;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: #E9F3DC;
  border-radius: 20px;
  transition: background 0.2s;
}
.cookie-modal-switch input:checked + .cookie-modal-slider {
  background: #BADA55;
}
.cookie-modal-slider:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px 0 rgba(30, 50, 30, 0.10);
  transition: transform 0.20s;
}
.cookie-modal-switch input:checked + .cookie-modal-slider:before {
  transform: translateX(16px);
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal-close {
  margin-left: auto;
  background: transparent;
  border: none;
  color: #215221;
  font-size: 1.47rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.17s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: #F4F8F0;
}
@media (max-width: 460px) {
  .cookie-modal { padding: 16px 6px; font-size: 1rem; }
}

/* --- FORM ELEMENTS --- */
input, textarea, select {
  font-family: 'Roboto', Georgia, serif;
  font-size: 1.09rem;
  background: #FFFFFF;
  color: #264024;
  border: 1.2px solid #CEDCC4;
  border-radius: 9px;
  padding: 10px 12px;
  margin-bottom: 12px;
  width: 100%;
  outline: none;
  box-shadow: 0 0 0 0 transparent;
  transition: border 0.19s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.3px solid #BADA55;
  box-shadow: 0 0 0 2px #E9F3DC;
}

/* --- CUSTOM SCROLLBAR (Elegant Classic) --- */
::-webkit-scrollbar { width: 8px; background: #e5eadc; }
::-webkit-scrollbar-thumb {
  background: #BADA55;
  border-radius: 6px;
}

/* --- ANIMATIONS, MICRO-INTERACTIONS --- */
.card, .feature, .testimonial-card, .case, .article-teaser, .blog-intro {
  transition: box-shadow 0.21s, transform 0.20s;
}
.card:hover, .case:hover, .feature:focus, .testimonial-card:focus {
  box-shadow: 0 8px 30px 0 rgba(51,102,51,0.14) !important;
  transform: translateY(-2px) scale(1.017);
}
.cta, .cta.primary {
  transition: background 0.14s, border 0.14s, color 0.13s, box-shadow 0.13s;
}

/* --- PRINT COLOR Fallbacks --- */
@media print {
  body { background: #fff !important; color: #000; }
  header, footer, .cta, .section, .feature, .testimonial-card { background: #fff !important; box-shadow: none !important; }
  a, a:visited { color: #003300 !important; }
}
