/* --- CSS RESET & NORMALIZE --- */
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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F6F2EA;
  color: #295941;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  vertical-align: middle;
}
a {
  color: #295941;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #85B75B;
  outline: none;
  text-decoration: none;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #295941;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
}
p, ul, ol, blockquote {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #3d5438;
  margin-bottom: 16px;
  font-size: 1rem;
}
strong {
  font-weight: bold;
}
ul, ol {
  padding-left: 28px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
blockquote {
  font-style: italic;
  color: #183123;
  border-left: 4px solid #85B75B;
  padding-left: 18px;
  margin: 0 0 18px 0;
}

.subheadline {
  font-size: 1.15rem;
  color: #46684e;
  margin-bottom: 16px;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 4px 32px rgba(41,89,65,0.08);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 16px rgba(41,89,65,0.07);
  padding: 32px 24px;
}
.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: center;
  gap: 20px;
  background: #F6F2EA;
  border: 1.5px solid #e2ded2;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(41,89,65,0.06);
  padding: 28px 22px;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 520px;
  width: 100%;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-info {
  font-size: 0.96em;
  color: #295941;
  font-style: normal;
  margin-left: 10px;
}

.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: 14px;
  box-shadow: 0 2px 16px rgba(41,89,65,0.06);
  padding: 28px 20px 30px 20px;
  width: 260px;
  min-width: 200px;
  max-width: 100%;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}
.feature-item:hover,
.feature-item:focus {
  box-shadow: 0 8px 32px rgba(41,89,65,0.14);
  transform: translateY(-3px);
}

/* --- HEADER --- */
header {
  background: #fff;
  border-bottom: 1.5px solid #e9e6de;
  box-shadow: 0 2px 16px 0 rgba(41,89,65,0.04);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  position: relative;
}
.logo img {
  height: 48px;
  width: auto;
  margin-right: 12px;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.08rem;
  color: #295941;
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.18s;
}
.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
  border-bottom: 2px solid #85B75B;
  color: #85B75B;
  outline: none;
}
.cta {
  display: inline-block;
  background: #295941;
  color: #fff;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 12px 32px;
  border-radius: 28px;
  text-decoration: none;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(41,89,65,0.10);
  cursor: pointer;
}
.cta.primary {
  background: #85B75B;
  color: #295941;
  margin-left: 24px;
}
.cta:hover,
.cta:focus {
  background: #3a7554;
  color: #fff;
  box-shadow: 0 5px 38px rgba(41,89,65,0.13);
  outline: none;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #295941;
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #295941;
  font-size: 2.1rem;
  border: none;
  padding: 6px 12px;
  margin-left: 20px;
  cursor: pointer;
  transition: color 0.19s;
  z-index: 61;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #85B75B;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(41,89,65,0.97);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.67,0,0.21,1);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  align-self: flex-end;
  margin: 28px 24px 16px 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 1100;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #85B75B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 24px 40px;
}
.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.35rem;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: color 0.19s;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #85B75B;
}

/* --- SECTION STYLES --- */
section {
  padding: 0;
  margin-bottom: 60px;
}

.text-section {
  margin-bottom: 20px;
}
.contact-info {
  margin: 28px 0 10px 0;
  font-size: 1rem;
  color: #295941;
}
.contact-info a {
  color: #295941;
  text-decoration: underline;
}
.project-list,
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.project-list .text-section,
.blog-list .text-section {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 2px 12px rgba(41,89,65,0.06);
  margin-bottom: 0px;
  width: 320px;
  min-width: 220px;
  max-width: 100%;
}

/* --- FOOTER --- */
footer {
  background: #295941;
  color: #fff;
  padding: 0 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 20px 8px 20px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-menu a {
  color: #e8efde;
  text-decoration: none;
  font-size: 1rem;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: color 0.18s, border-bottom 0.16s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: #85B75B;
  border-bottom: 1.5px solid #85B75B;
}
.brand-info {
  font-size: 1.08rem;
  color: #fff;
  margin-top: 8px;
  letter-spacing: 0.01em;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #fff;
  border-top: 2px solid #85B75B;
  box-shadow: 0 -2px 18px rgba(41,89,65,0.09);
  padding: 22px 16px 26px 16px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: cookieSlideIn 0.7s cubic-bezier(0.43,0,0.36,1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(80px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  color: #295941;
  font-size: 1.02rem;
}
.cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  background: #295941;
  color: #fff;
  padding: 10px 28px;
  border-radius: 22px;
  border: none;
  font-size: 1.02rem;
  cursor: pointer;
  margin-top: 2px;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(41,89,65,0.07);
}
.cookie-btn.settings {
  background: transparent;
  color: #295941;
  border: 1.5px solid #295941;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #85B75B;
  color: #295941;
  box-shadow: 0 5px 18px rgba(41,89,65,0.11);
  outline: none;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  border-color: #85B75B;
  background: #F6F2EA;
  color: #295941;
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 2200;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(41,89,65,0.48);
  animation: fadeInCookie 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes fadeInCookie {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #295941;
  border-radius: 14px;
  max-width: 375px;
  width: 94%;
  padding: 36px 26px 24px 26px;
  box-shadow: 0 8px 64px rgba(41,89,65,0.18);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalDrop 0.5s cubic-bezier(0.45,0,0.36,1);
}
@keyframes modalDrop {
  from { transform: translateY(-44px); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.38rem;
  color: #295941;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-toggle {
  accent-color: #85B75B;
  width: 21px;
  height: 21px;
}
.cookie-legend {
  color: #3d5438;
  font-size: 0.98rem;
  margin-left: 4px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .cookie-btn {
  min-width: 94px;
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 16px;
  background: none;
  border: none;
  color: #295941;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #85B75B;
}

/* --- RESPONSIVE --- */
@media (max-width: 1180px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .content-wrapper {
    padding: 0 5px;
  }
}
@media (max-width: 940px) {
  .main-nav {
    gap: 18px;
  }
  .features-grid, .testimonial-list, .card-container, .content-grid, .project-list {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .features-grid, .blog-list, .project-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .project-list .text-section, .blog-list .text-section {
    width: 100%;
    min-width: unset;
    max-width: unset;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .main-nav { display: none; }
  .cta.primary { display: none; }
  .mobile-menu-toggle { display: block; }
  header .container {
    height: 64px;
    padding: 0 10px;
  }
  .footer-menu { gap: 10px; }
  .testimonial-list,
  .features-grid,
  .card-container,
  .content-grid,
  .blog-list,
  .project-list {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card,
  .feature-item,
  .card,
  .project-list .text-section,
  .blog-list .text-section {
    width: 100%;
    min-width: unset;
    max-width: unset;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .container { padding: 0 6px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.08rem; }
  .container { padding: 0 2vw; }
  .section { padding: 24px 5px; }
  .cookie-modal { padding: 20px 6px 16px 9px; }
}

/* --- MICRO INTERACTIONS & TRANSITIONS --- */
button, .cta, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-modal-close {
  transition: background 0.18s, color 0.13s, box-shadow 0.16s, border 0.13s;
}
section, .card, .feature-item, .testimonial-card {
  transition: box-shadow 0.18s, background 0.16s, border 0.16s;
}

/* --- UTILITIES FOR SPACING--- */
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-32 { margin-top: 32px !important; }

/* --- END --- */
