/* ============================== */
/*        1. CSS RESET            */
/* ============================== */
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%;
  font: inherit;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  background: #F2F5EC;
  color: #173a29;
}
ol, ul, ul li, ol li {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  background: transparent;
  text-decoration: none;
  color: inherit;
}
img {
  border-style: none;
  max-width: 100%;
  height: auto;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
:root {
  --color-primary: #195C38;
  --color-primary-80: #297a4a;
  --color-secondary: #6BAF71;
  --color-secondary-80: #50985a;
  --color-accent: #F2F5EC;
  --color-warm0: #fff;
  --color-warm1: #fffdfa;
  --color-warm2: #fde8bc;
  --color-warm3: #fff1db;
  --color-orange: #ffdba3;
  --color-warning: #ffbe76;
  --color-success: #6BAF71;
  --shadow-main: 0 4px 24px rgba(25,92,56,0.09);
  --shadow-card: 0 2px 12px rgba(106,175,113,0.08);
  --shadow-elevated: 0 6px 32px rgba(25,92,56,0.13);
}

/* ============================== */
/*       2. TYPOGRAPHY            */
/* ============================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: var(--color-accent);
  color: #173a29;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.05rem;
}
p, ul li, ol li, .text-section, .articles-list li, .faq-list p, .steps li, .feature-bullets li {
  font-size: 1rem;
  color: #23402e;
}
strong {
  font-weight: 700;
}

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

/* ================================ */
/*       3. GLOBAL SPACING          */
/* ================================ */
.container {
  width: 100%;
  max-width: 1232px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 900px) {
  .section, section { padding: 32px 6px; }
}
@media (max-width: 600px) {
  .section, section { padding: 24px 4px; margin-bottom: 40px; }
}

/* ============================== */
/*         4. HEADER              */
/* ============================== */
header {
  background: #fffdfa;
  box-shadow: 0 2px 16px rgba(25,92,56,0.06);
  border-bottom: 1px solid #ede9df;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 18px;
}
.logo img {
  height: 40px;
  width: auto;
  border-radius: 10px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 6px 13px;
  color: var(--color-primary);
  border-radius: 8px;
  transition: background 0.17s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-orange);
  color: var(--color-secondary-80);
}
.cta-btn {
  display: inline-block;
  background: var(--color-secondary);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  border-radius: 30px;
  padding: 10px 32px;
  box-shadow: 0 4px 18px rgba(107,175,113,0.11);
  margin-left: 16px;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.14s, box-shadow 0.18s, transform 0.15s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 36px rgba(25,92,56,0.13);
  transform: translateY(-2px) scale(1.03);
}

@media (max-width: 900px) {
  .main-nav { gap: 10px; }
  header .container { flex-wrap: wrap; }
}

/* ============================== */
/*    5. MOBILE NAVIGATION        */
/* ============================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 20px;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  z-index: 201;
  box-shadow: 0 4px 16px rgba(107,175,113,0.15);
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-primary-80);
  box-shadow: 0 8px 24px rgba(25,92,56,0.19);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: #fffdfa;
  box-shadow: var(--shadow-elevated);
  z-index: 202;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.68,-0.07,.38,1.07), box-shadow 0.22s;
  will-change: transform;
  display: flex;
  flex-direction: column;
  padding: 40px 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 8px #d6e6ce60;
  transition: background 0.17s, box-shadow 0.18s;
  z-index: 210;
}
.mobile-menu-close:hover {
  background: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 60px;
  gap: 12px;
  padding: 0 36px;
}
.mobile-nav a {
  padding: 16px 0;
  color: var(--color-primary);
  font-size: 1.25rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-radius: 10px;
  width: 100%;
  transition: background 0.18s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-orange);
  color: var(--color-secondary-80);
}
@media (max-width: 900px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ============================== */
/*           6. HERO              */
/* ============================== */
.hero {
  background: linear-gradient(102deg, #fde8bc 0%, #F2F5EC 100%);
  border-radius: 0 0 48px 48px;
  box-shadow: 0 8px 34px -8px #d6e6ce3c;
  padding-top: 48px;
  padding-bottom: 48px;
  margin-bottom: 60px;
  min-height: 410px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.hero h1 {
  color: var(--color-primary);
  text-align: center;
}
.hero p {
  max-width: 520px;
  color: #23402e;
  text-align: center;
  font-size: 1.16rem;
}
@media (max-width: 768px) {
  .hero {
    padding-top: 20px;
    padding-bottom: 28px;
    min-height: 230px;
    border-radius: 0 0 18px 18px;
  }
  .hero h1 { font-size: 1.44rem; }
}

/* =============================== */
/*        7. FEATURE CARDS         */
/* =============================== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 8px;
}
.feature {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  padding: 24px 20px 20px 20px;
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
}
.feature img {
  margin-bottom: 8px;
  height: 42px;
  width: 42px;
}
.feature h3 {
  font-size: 1.16rem;
  color: var(--color-secondary);
  margin-bottom: 4px;
  font-weight: 700;
}
.feature p {
  font-size: 0.98rem;
  color: #23402e;
}
.feature:hover {
  box-shadow: 0 6px 28px 0 rgba(107,175,113,0.18);
  transform: translateY(-2px) scale(1.025);
}
@media (max-width: 900px) {
.features-grid {
    gap: 18px;
  }
  .feature {
    flex: 1 1 40vw;
    min-width: 160px;
  }
}
@media (max-width: 600px) {
  .features-grid{ flex-direction: column; align-items: stretch;}
  .feature { max-width: 98vw; min-width: 0; }
}

/* =============================== */
/*         8. SERVICE CARDS        */
/* =============================== */
.service-card {
  background: #fffdfa;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 26px 26px 22px 26px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.16s, transform 0.17s;
}
.service-card h2 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 1.3rem;
}
.service-card .price {
  color: var(--color-secondary);
  font-size: 1.12rem;
  font-weight: 600;
  margin-left: 14px;
}
.service-card ul {
  margin-top: 7px;
  margin-left: 22px;
  list-style: disc;
}
.service-card li { font-size: 0.98rem; color: #23402e; }
.service-card:hover {
  box-shadow: 0 8px 32px rgba(107,175,113,0.18);
  transform: translateY(-2px) scale(1.012);
}
@media (max-width: 600px) {
  .service-card { padding: 15px 7px 14px 12px; }
}

/* =============================== */
/*        9. TESTIMONIALS         */
/* =============================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 18px rgba(107,175,113,0.14);
  transition: box-shadow 0.16s, transform 0.16s;
  color: #23402e;
  max-width: 650px;
}
.testimonial-card p {
  margin: 0;
  font-size: 1rem;
  color: #195C38;
}
.testimonial-card strong {
  font-size: 1.02rem;
  color: var(--color-secondary-80);
}
.testimonial-card:hover {
  box-shadow: 0 6px 48px rgba(25,92,56,0.13);
  transform: scale(1.02);
}

@media (max-width: 800px) {
  .testimonial-card { flex-direction: column; align-items: flex-start; max-width: 100%;}
}

/* =============================== */
/*    10. STAT CARDS & SECTIONS    */
/* =============================== */
.statistics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-top: 24px;
}
.statistics-grid > div {
  flex: 1 1 190px;
  background: #fffdfa;
  border-radius: 20px;
  padding: 20px 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.statistics-grid img {
  width: 36px; height: 36px;
  margin-bottom: 6px;
}
@media (max-width: 650px) {
  .statistics-grid { flex-direction: column; gap: 16px; }
}

/* =============================== */
/*         11. CTA SECTION         */
/* =============================== */
.cta-section {
  background: var(--color-secondary);
  border-radius: 28px;
  box-shadow: 0 4px 32px rgba(107,175,113,0.18);
  color: #fff;
  text-align: center;
  padding: 44px 18px 38px 18px !important;
  margin-bottom: 50px !important;
}
.cta-section h2 { color: #fff; margin: 0 0 18px 0; }
.cta-section .cta-btn {
  background: #fff;
  color: var(--color-secondary);
  box-shadow: none;
  font-size: 1.16rem;
}
.cta-section .cta-btn:hover{
  background: var(--color-warm3);
  color: var(--color-primary-80);
}

/* =============================== */
/*         12. FOOTER              */
/* =============================== */
footer {
  background: #fffdfa;
  border-top: 1px solid #ede9df;
  padding: 36px 0 18px 0;
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 34px;
}
.footer-logo img {
  height: 40px; width: auto; border-radius: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  border-radius: 8px;
  padding: 5px 7px;
  transition: background 0.17s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-orange);
}
.footer-contact {
  font-size: 0.97rem;
  color: #3a6248;
  line-height: 1.6;
}
@media (max-width: 900px) {
  footer .container { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* =============================== */
/*     13. PAGES: OTHERS LAYOUTS   */
/* =============================== */
.services-list, .feature-bullets, .articles-list {
  margin-bottom: 24px;
  padding-left: 14px;
  list-style: disc inside;
}
.faq-list, .case-study, .contact-infobox {
  margin-top: 18px;
  margin-bottom: 18px;
}
.case-study {
  background: #F2F5EC;
  border-radius: 20px;
  padding: 20px 16px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}
.case-study h2 {
  font-size: 1.13rem;
  color: var(--color-secondary-80);
}
.text-section {
  margin: 18px 0;
}
.faq-list > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 14px 16px;
  margin-bottom: 18px;
  transition: box-shadow 0.15s;
}
.faq-list > div:hover {
  box-shadow: 0 6px 20px #6baf7122;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 22px;
  align-items: center;
  justify-content: flex-start;
}
.steps li {
  background: #fffdfa;
  border-radius: 14px;
  box-shadow: 0 1px 8px #d6e6ce60;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}
.steps li img {
  width: 28px; height: 28px;
}
@media (max-width: 700px) {
  .steps{ flex-direction: column; align-items: flex-start; }
}

.contact-infobox {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.contact-infobox h2 {
  margin-bottom: 14px;
  color: var(--color-secondary);
  font-size: 1.13rem;
}
.contact-infobox ul {
  display: flex; flex-direction: column; gap: 10px;
}
.contact-infobox li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.99rem;
}
.contact-infobox img {
  width: 22px; height: 22px;
}

/* =============================== */
/*     14. GRID-LIKE FLEXBOXS      */
/* =============================== */
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  padding: 14px 14px;
  position: relative;
  transition: box-shadow 0.13s, transform 0.12s;
}
.card:hover {
  box-shadow: 0 4px 18px rgba(25,92,56,0.16);
  transform: scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 14px; }
  .card-container,.content-grid{ flex-direction: column; gap: 20px; }
}

/* =============================== */
/*   15. COOKIE CONSENT BANNER     */
/* =============================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffdfa;
  color: #23402e;
  box-shadow: 0 -2px 22px #d6e6ce6d;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 32px;
  font-size: 1rem;
  border-radius: 24px 24px 0 0;
  animation: bannerDrop .34s cubic-bezier(.33,.91,.59,1.01);
}
@keyframes bannerDrop {
  0% {transform: translateY(100%); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 8px 20px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 2px 8px #6baf7148;
  transition: background 0.13s, transform 0.13s;
}
.cookie-banner button:hover,.cookie-banner button:focus{
  background: var(--color-primary-80);
  transform: scale(1.04);
}
.cookie-banner .cookie-settings-btn {
  background: var(--color-warning);
  color: var(--color-primary);
}
.cookie-banner .cookie-settings-btn:hover {
  background: var(--color-orange);
}
@media (max-width: 700px) {
  .cookie-banner {flex-direction: column; align-items: stretch; padding: 14px 12px; gap:12px; font-size:0.92rem;}
  .cookie-banner .cookie-buttons { justify-content: flex-end; }
}

/* ===== Cookie Modal ===== */
.cookie-modal {
  position: fixed;
  z-index: 3200;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(21,39,29,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fffdfa;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 0 36px #6baf7150;
  color: #23402e;
  width: 98vw;
  max-width: 480px;
  padding: 32px 20px 22px 22px;
  margin-bottom: 0;
  animation: modalRise .32s cubic-bezier(.19,.71,.7,1.04);
}
@keyframes modalRise {
  0% { transform: translateY(100px); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-modal-content h2 {
  color: var(--color-secondary);
  font-size: 1.19rem;
  margin-bottom: 14px;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-option-row {
  display: flex;
  align-items: center;
  gap: 7px;
}
.cookie-option-row label {
  font-size: 1rem;
}
.cookie-toggle-input[type="checkbox"] {
  width: 36px;
  height: 20px;
  appearance: none;
  background: #e6ebe4;
  border-radius: 15px;
  position: relative;
  outline: none;
  transition: background 0.17s;
  cursor: pointer;
}
.cookie-toggle-input[type="checkbox"]:checked {
  background: var(--color-secondary);
}
.cookie-toggle-input[type="checkbox"]:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px #195C3845;
  transition: left 0.18s;
}
.cookie-toggle-input[type="checkbox"]:checked:before {
  left: 19px;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}
.cookie-modal-actions button {
  border-radius: 30px;
  padding: 8px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.11s, transform 0.12s;
}
.cookie-modal-actions button:hover,
.cookie-modal-actions button:focus{
  background: var(--color-primary-80);
}
.cookie-modal-actions .cookie-cancel-btn {
  background: var(--color-warning);
  color: var(--color-primary);
}
.cookie-modal-actions .cookie-cancel-btn:hover {
  background: var(--color-orange);
}

/* =============================== */
/*          16. UTILITIES          */
/* =============================== */
.gap-20 { gap: 20px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.rounded { border-radius: 18px; }
.mb-20 { margin-bottom: 20px !important; }

/* =============================== */
/*           17. OVERRIDES         */
/* =============================== */
::-webkit-input-placeholder { color: #6BAF71aa; }
::-moz-placeholder { color: #6BAF71aa; }
:-ms-input-placeholder { color: #6BAF71aa; }
::placeholder { color: #6BAF71aa; }

@media (hover: hover) {
  button:not(.cta-btn):hover, a.button:hover {
    filter: brightness(0.96);
    box-shadow: 0 2px 12px #b2d7bb;
  }
}

/* =============================== */
/*           18. ACCESSIBILITY     */
/* =============================== */
:focus-visible {
  outline: 2px solid var(--color-secondary-80);
  outline-offset: 0.15em;
}

/* =============================== */
/*       19. CUSTOM SCROLLBAR      */
/* =============================== */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--color-secondary) #F2F5EC;
}
::-webkit-scrollbar {
  width: 6px;
  background: #F2F5EC;
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 6px;
}

/* =============================== */
/*           THE END               */
/* =============================== */
