/* ========= CSS RESET & BASE STYLES ========= */
/* Simple 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F6F8F4;
  color: #293730;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #24587A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #38734F;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #24587A;
  letter-spacing: 0.01em;
  line-height: 1.12;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.7rem;
  color: #38734F;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.18rem;
  color: #24587A;
  margin-bottom: 10px;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  color: #4D6042;
  font-size: 1.12rem;
  margin-bottom: 24px;
}
p {
  margin-bottom: 18px;
  color: #293730;
}

strong, b {
  font-weight: 700;
}
em, i {
  font-style: italic;
}

/* ========= BRAND COLORS ========= */
:root {
  --brand-primary: #24587A;
  --brand-secondary: #F3F7FA;
  --brand-accent: #FEC536;
  --nature-green: #38734F;
  --nature-brown: #726552;
  --nature-beige: #F7F6ED;
  --nature-dark: #293730;
  --nature-stone: #F6F8F4;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--nature-beige);
  border-radius: 32px;
  box-shadow: 0 4px 24px rgba(34, 68, 60, 0.07);
  position: relative;
}
main section {
  background: none;
  box-shadow: none;
  border-radius: 0;
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}

.content-wrapper {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 24px;
  gap: 20px;
}

/* ==== FLEX LAYOUTS (MANDATORY) ==== */
.card-container, .content-grid, .feature-grid, .feature-list, .testimonial-list, .service-cards, .feature-icons, .contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card { 
  margin-bottom: 20px;
  position: relative;
}

.content-grid {
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex; /* card with icon or avatar in future? */
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: #F6F8F4;
  border-radius: 21px;
  box-shadow: 0 2px 16px rgba(57, 79, 65, 0.07);
  margin-bottom: 20px;
  min-width: 242px;
  max-width: 350px;
  border: 1.5px solid #E1E9D8;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 36px rgba(56,115,79,0.11);
}
.customer-name {
  font-size: 0.98rem;
  color: #38734F;
  font-weight: 700;
  margin-top: 6px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ====== NAVIGATION & HEADER ====== */
header {
  background: var(--nature-stone);
  padding: 0;
  border-bottom: 1.5px solid #E1E9D8;
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}
header img {
  height: 44px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #293730;
  background: none;
  border-radius: 10px;
  padding: 8px 11px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a.active {
  color: #24587A;
  background: #E6F2E6;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #FEC536;
  color: #24587A;
  padding: 12px 28px;
  border-radius: 29px 28px 32px 18px/31px 18px 29px 32px;
  font-size: 1.1rem;
  margin-left: 24px;
  box-shadow: 0 2px 8px rgba(254, 197, 54, 0.13);
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.18s, box-shadow 0.18s, color 0.15s;
  outline: none;
  min-width: 160px;
  min-height: 44px;
}
.cta-button:hover, .cta-button:focus {
  background: #FFD065;
  color: #293730;
  box-shadow: 0 4px 18px rgba(254, 197, 54, 0.25);
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  background: #FEC536;
  color: #24587A;
  padding: 9px 18px;
  border: none;
  font-size: 2.2rem;
  border-radius: 16px 20px 14px 22px/17px 22px 20px 14px;
  position: absolute;
  right: 20px;
  top: 16px;
  z-index: 101;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(254, 197, 54, 0.11);
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #38734F;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(246, 248, 244, 0.98);
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.19,.68,.53,1.04);
  display: flex;
  flex-direction: column;
  z-index: 2000;
  box-shadow: 0 6px 38px rgba(56,115,79,0.12);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FEC536;
  color: #24587A;
  border: none;
  font-size: 2rem;
  border-radius: 0 0 24px 0 / 0 0 18px 0;
  padding: 11px 18px;
  align-self: flex-end;
  margin: 18px 20px 5px 0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  z-index: 2001;
}
.mobile-menu-close:focus {
  outline: 2px solid #38734F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  align-items: flex-start;
  padding-left: 40px;
  padding-top: 10px;
  font-size: 1.24rem;
  height: 100%;
}
.mobile-nav a {
  color: #24587A;
  background: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 11px 0;
  border-radius: 12px;
  transition: color 0.13s, background 0.15s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  color: #38734F;
  background: #FEC53633;
  outline: none;
}


/* ========== HERO SECTIONS & CTAS ========== */
main section:first-child {
  background: none;
  box-shadow: none;
  padding-top: 36px;
}
main h1 {
  font-size: 2.3rem;   
  color: #24587A;
  margin-bottom: 16px;
}
main h2 {
  font-size: 1.56rem;
  color: #38734F;
  margin-bottom: 13px;
  margin-top: 18px;
}
main h3 {
  font-size: 1.1rem;
  color: #24587A;
}

/* ========== FEATURES & ICON CARDS ========== */
.feature-grid, .feature-list, .feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 18px;
  margin-bottom: 18px;
}
.feature-grid li, .feature-list li, .feature-icons > div, .feature-list > div {
  background: #F7F6ED;
  border-radius: 19px;
  box-shadow: 0 2px 18px rgba(56,115,79,0.10);
  padding: 22px 21px;
  min-width: 210px;
  max-width: 288px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 0;
  transition: box-shadow 0.17s;
}
.feature-grid li:hover, .feature-list li:hover, .feature-icons > div:hover {
  box-shadow: 0 4px 21px rgba(36,88,122,0.13);
}
.feature-grid img, .feature-list img, .feature-icons img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #E6F2E6;
  padding: 6px;
}

/* ========== SERVICE CARDS ========== */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
  margin-top: 16px;
  width: 100%;
  justify-content: flex-start;
}
.service-card {
  background: #F7F6ED;
  border-radius: 20px 28px 18px 25px/25px 18px 28px 20px;
  box-shadow: 0 3px 15px rgba(36,88,122,0.09);
  padding: 23px 26px 20px 26px;
  min-width: 255px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  position: relative;
  border: 1.3px solid #E1E9D8;
  margin-bottom: 20px;
  transition: box-shadow 0.16s;
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(56,87,79,0.14);
}
.service-card h3 {
  font-size: 1.13rem;
  color: #24587A;
}
.service-card p {
  margin-bottom: 9px;
  font-size: 1.04rem;
  color: #293730;
}
.price {
  font-size: 1.13rem;
  color: #38734F;
  font-weight: 700;
  background: #E6F7E9;
  border-radius: 14px 18px 14px 20px;
  padding: 6px 16px;
  margin-top: 3px;
  letter-spacing: 0.01em;
  display: inline-block;
}
.benefit-list {
  margin-top: 10px;
  margin-bottom: 4px;
  padding-left: 16px;
  color: #38734F;
  font-size: 0.99rem;
}
.benefit-list li {
  list-style: disc;
  margin-bottom: 2px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 24px;
}
.service-list li {
  background: #F7F6ED;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(36, 88, 122, 0.07);
  padding: 22px 16px 11px 20px;
  min-width: 230px;
  max-width: 305px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ========== CONTACT & INFO SECTIONS ========== */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 19px;
  width: 100%;
  margin-top: 20px;
}
.contact-details > div {
  background: #E6F2E6;
  border-radius: 15px 11px 22px 9px/10px 18px 9px 22px;
  padding: 15px 20px;
  min-width: 185px;
  max-width: 290px;
  color: #24587A;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 1.5px 8px rgba(56,115,79,0.06);
}
.contact-details h3 {
  color: #38734F;
  font-size: 1.01rem;
  margin-bottom: 5px;
}
.contact-details a {
  color: #24587A;
  word-break: break-word;
}
.map-block {
  background: #F6F8F4;
  color: #726552;
  font-size: 0.95rem;
}

.contact-info {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  font-size: 1.03rem;
  color: #38734F;
}
.contact-info a {
  color: #24587A;
}

/* ========== FOOTER ========== */
footer {
  background: #243124;
  color: #F3F7FA;
  padding: 32px 0 16px 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  margin-top: 66px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.footer-menu {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #FEC536;
  font-size: 1.02rem;
  padding: 0 1px 3px 1px;
  border-radius: 5px;
  transition: color 0.17s, background 0.15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #38734F;
  background: #FEC53622;
}
.footer-logo img {
  height: 38px;
  width: auto;
}
.footer-brand {
  font-size: 1.02rem;
  color: #E2E7E3;
  margin-top: 10px;
}

/* ========== GENERIC TEXT BLOCKS ========== */
.text-section {
  font-size: 1.06rem;
  margin-bottom: 14px;
  color: #293730;
}
.text-section h2 {
  font-size: 1.17rem;
  margin-top: 18px;
  color: #24587A;
}
.text-section h3 {
  font-size: 1rem;
  color: #38734F;
  margin-top: 10px;
}
.text-section ul {
  margin-bottom: 14px;
  padding-left: 20px;
}
.text-section li {
  list-style: disc;
  margin-bottom: 7px;
  color: #38734F;
}

/* ========== FORMS, INPUTS, BUTTONS ========== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 13px;
  border: 1.5px solid #C9D5C1;
  border-radius: 10px;
  outline: none;
  background: #F7F6ED;
  margin-bottom: 18px;
  color: #293730;
}
input:focus, textarea:focus, select:focus {
  border-color: #38734F;
  background: #EFF8F0;
}
button {
  font-family: inherit;
  font-size: 1.03rem;
  padding: 11px 22px;
  border-radius: 22px 14px 20px 18px;
  border: none;
  background: #FEC536;
  color: #24587A;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1.5px 7px rgba(254,197,54,0.08);
  transition: background 0.13s, color 0.13s;
  outline: none;
  min-width: 130px;
}
button:hover, button:focus {  
  background: #FFD065;
  color: #293730;
}

/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4000;
  width: 100vw;
  background: #F3F7FA;
  border-top: 2.5px solid #E1E9D8;
  box-shadow: 0 -3px 32px rgba(36,88,122,0.095);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 25px 12px 18px 12px;
  transition: transform 0.32s cubic-bezier(.31,.98,.43,1.01);
  transform: translateY(0);
  font-size: 1.04rem;
  color: #293730;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner strong {
  color: #38734F;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  margin-top: 8px;
}
.cookie-banner button {
  background: #FEC536;
  color: #24587A;
  border-radius: 13px 19px 14px 14px;
  border: none;
  font-weight: 700;
  padding: 10px 17px;
  min-width: 100px;
  transition: background 0.16s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #F7F6ED;
  color: #38734F;
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 5000;
  transform: translate(-50%, -50%) scale(0.98);
  background: #F6F8F4;
  border-radius: 26px 19px 18px 24px/18px 26px 24px 19px;
  box-shadow: 0 6px 44px rgba(56,115,79,0.16);
  padding: 30px 30px 24px 30px;
  min-width: 335px;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.28s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  display: none;
}
.cookie-modal h2 { color: #24587A; font-size: 1.13rem; margin-bottom: 12px; }
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.cookie-modal .cookie-category {
  background: #F3F7FA;
  border-radius: 11px 16px 7px 19px;
  padding: 12px 16px;
  color: #24587A;
  font-size: 1.01rem;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 235px;
}
.cookie-modal .cookie-category input[type=checkbox] { margin-right: 7px; accent-color: #38734F; }
.cookie-modal .cookie-category input[disabled], .cookie-modal .cookie-category input[readonly] {
  opacity: 0.55;
  pointer-events: none;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  width: 100%;
}
.cookie-modal .close-cookie-modal {
  align-self: flex-end;
  background: #FEC536;
  color: #24587A;
  border: none;
  font-size: 1.21rem;
  margin-bottom: 10px;
}
.cookie-modal .close-cookie-modal:hover { background: #FFD065; }

/* ========== UTILITY CLASSES ========== */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 10px; }
.mb-1 { margin-bottom: 10px; }
.mt-2 { margin-top: 20px; }
.mb-2 { margin-bottom: 20px; }
.text-center { text-align: center; }

/* ========== ORGANIC VISUALS ========== */
.section, .service-card, .testimonial-card, .feature-grid li, .feature-list li, .feature-icons > div, .content-wrapper, .contact-details > div {
  border-radius: 28px 18px 24px 32px / 18px 32px 24px 28px;
}

/* Organic hover shadow for cards */
.service-card:hover,
.feature-grid li:hover,
.testimonial-card:hover,
.feature-list li:hover,
.feature-icons > div:hover {
  box-shadow: 0 8px 44px rgba(56,115,79,0.13);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1150px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .footer-menu, .footer-logo, .footer-brand,
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
@media (max-width: 930px) {
  .service-cards, .feature-grid, .feature-list, .testimonial-list, .content-grid, .feature-icons, .service-list {
    gap: 18px;
    justify-content: flex-start;
  }
  .service-card, .feature-grid li, .feature-list li, .feature-icons > div, .testimonial-card {
    min-width: 185px;
    max-width: 98vw;
  }
  nav { gap: 8px; }
}

@media (max-width: 768px) {
  /* Mobile menu trigger */
  .mobile-menu-toggle {
    display: block;
  }
  nav {
    display: none;
  }
  header .cta-button {
    display: none;
  }
  .container { padding-left: 11px; padding-right: 11px; }
  .content-wrapper { padding: 0 0 22px 0; }
  .section, main section {
    padding: 30px 1vw;
    margin-bottom: 40px;
    border-radius: 20px;
  }
  h1 { font-size: 1.47rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1rem; }
  .feature-grid, .feature-list, .feature-icons, .testimonial-list, .service-cards, .service-list, .contact-details {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .service-card, .feature-grid li, .feature-list li, .feature-icons > div, .testimonial-card, .contact-details > div {
    min-width: 0;
    max-width: 98vw;
    width: 100%;
    margin-right: 0;
  }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 550px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1rem; }
  .cta-button, button { font-size: 1rem; padding: 9px 15px; min-width: 78vw; }
  .container { padding-left: 5px; padding-right: 5px; }
}

/* ========== ANIMATIONS & MICRO-INTERACTIONS ========== */
.cta-button, button, .service-card, .feature-grid li, .feature-icons > div, .testimonial-card {
  transition: box-shadow 0.17s, background 0.15s, color 0.13s, transform 0.16s;
}
.cta-button:active, button:active {
  transform: scale(0.97);
}
.service-card:active, .feature-grid li:active, .feature-icons > div:active, .testimonial-card:active {
  transform: scale(0.98);
  box-shadow: 0 2px 16px rgba(56,115,79,0.14);
}

/* ========== SCROLLBAR STYLES ========== */
body, .mobile-menu, .cookie-modal {
  scrollbar-width: thin;
  scrollbar-color: #24587A #E1E9D8;
}
body::-webkit-scrollbar { width: 8px; background: #E1E9D8; }
body::-webkit-scrollbar-thumb { background: #38734F; border-radius: 4px; }
.mobile-menu::-webkit-scrollbar { width: 8px; background: #E1E9D8; }
.mobile-menu::-webkit-scrollbar-thumb { background: #FEC536; border-radius: 4px; }

/* ========== FOCUS VISIBLE ========== */
:focus-visible {
  outline: 2px solid #38734F;
  outline-offset: 2px;
}

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