/* === CSS RESET & BASE STYLES === */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #f7f6f3; /* subtle warm neutral base for nature */
  color: #244033; /* dark olive/garden soil for text */
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
ol, ul {
  list-style: none;
}
a {
  color: #288648;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #194c2e;
  text-decoration: underline;
}
strong {
  font-weight: 600;
}

/* =========== TYPOGRAPHY =========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  color: #194c2e;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.hero-subline {
  font-size: 1.2rem;
  color: #4a7153;
  font-weight: 500;
  margin-bottom: 16px;
}
p, li, blockquote, cite {
  font-size: 1rem;
  line-height: 1.7;
  color: #244033;
}
blockquote {
  font-style: italic;
  color: #232f27;
  quotes: "“" "”" "‘" "’";
  padding-left: 0.4em;
  border-left: 4px solid #B7A97F;
  background: #f6f8f3;
  border-radius: 8px;
}
cite {
  display: block;
  margin-top: 8px;
  color: #537843;
  font-style: normal;
  font-size: 1em;
  font-weight: 600;
}
.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ================= LAYOUT STRUCTURE ================= */
.container {
  width: 100%;
  max-width: 1100px;
  padding: 0 16px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 4px 18px rgba(132,120,89,0.07);
  /* organic outline effect */
  position: relative;
  overflow: visible;
}
@media (max-width: 992px) {
  .section {
    padding: 28px 10px;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 20px 6px;
    border-radius: 22px;
  }
}

/* ============= FLEX LAYOUTS ============= */
.features-grid,
.features-list,
.features-icons,
.features,
.card-container,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card-container {
  gap: 24px;
}
.card {
  background: #f8faf8;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(102, 86, 48, 0.07);
  margin-bottom: 20px;
  position: relative;
  margin-right: 0;
  margin-left: 0;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 28px rgba(60, 97, 65, 0.12);
  transform: translateY(-2px) scale(1.018);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #f6f8f3;
  box-shadow: 0 2px 16px rgba(60, 67, 51, 0.09);
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.service-list, .service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.service-list li, .service-detail-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 20px;
  background: #f7f6f3;
  border-radius: 10px;
  font-size: 1.02rem;
  color: #244033;
  box-shadow: 0 1px 5px rgba(186,174,98, 0.04);
}
.features-list li, .features-icons li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  border-radius: 9px;
  background: #f6f8f3;
  font-size: 1rem;
}
.features-list img, .features-icons img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 1px 4px rgba(84, 124, 97,0.07);
  background: #eafff7;
}

@media (max-width: 768px) {
  .features-grid, .features-list, .features-icons, .service-list, .service-detail-list, .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* =========== HEADER & NAVIGATION =========== */
header {
  background: #f5f6f4;
  border-bottom: 1px solid #e2e5dd;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 18px 12px 18px 12px;
  justify-content: space-between;
}
header img {
  width: 155px;
  max-width: 40vw;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}
header nav a {
  color: #24577a;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1.04rem;
  font-weight: 500;
  border-radius: 7px;
  padding: 6px 10px;
  transition: background 0.13s, color 0.13s;
}
header nav a:hover, header nav a:focus {
  background: #d9ead3;
  color: #288648;
}
.cta-btn {
  background: linear-gradient(94deg,#63a048 0%,#b7a97f 98%);
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 700;
  padding: 13px 28px;
  border: none;
  border-radius: 28px;
  font-size: 1.08rem;
  box-shadow: 0 4px 16px rgba(106,129,30, 0.07);
  cursor: pointer;
  transition: background 0.18s, transform 0.13s, box-shadow 0.15s;
  letter-spacing: 0.03em;
  margin-left: 10px;
  outline: none;
  position: relative;
  z-index: 1;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(99deg,#288648 9%,#a1936c 99%);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 7px 20px rgba(87,137,48, 0.18);
}

@media (max-width: 900px) {
  header nav {
    gap: 15px;
  }
  .cta-btn {
    padding: 10px 18px;
    font-size: 1rem;
  }
  header img {
    width: 120px;
  }
}
@media (max-width: 680px) {
  header .container {
    flex-direction: row;
    gap: 9px;
    padding: 13px 6px 13px 6px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    padding: 10px 12px;
    font-size: 0.98rem;
  }
}

/* =========== MOBILE MENU =========== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 21px;
  z-index: 1021;
  background: #fff;
  color: #288648;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 4px 10px rgba(85,120,73, 0.08);
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #d9ead3;
  outline: 2px solid #5ecad6;
}

@media (max-width: 680px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,64,51,0.94);
  z-index: 2048;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.23s, transform 0.32s cubic-bezier(0.66,0,0.34,1.11);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 25px;
  right: 24px;
  z-index: 9994;
  background: #fff;
  color: #288648;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 2px 7px rgba(85,120,73,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.13s;
}
.mobile-menu-close:active,
.mobile-menu-close:focus {
  background: #d9ead3;
  outline: 2px solid #5ecad6;
}

.mobile-nav {
  background: #f7f8fa;
  width: 82vw;
  min-width: 220px;
  max-width: 370px;
  height: 100vh;
  padding: 75px 40px 34px 36px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  box-shadow: -2px 0 18px rgba(60,67,51, 0.11);
}
.mobile-nav a {
  color: #24577a;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1.14rem;
  font-weight: 600;
  padding: 12px 8px;
  border-radius: 18px;
  margin-bottom: 5px;
  transition: background 0.11s, color 0.11s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #d9ead3;
  color: #288648;
  outline: none;
}
@media (min-width: 681px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ============== MAIN & SECTIONS ============== */
main {
  width: 100%;
  padding-top: 24px;
  padding-bottom: 36px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 4px 18px rgba(132,120,89,0.07);
  position: relative;
  overflow: visible;
}
@media (max-width: 992px) {
  section {
    padding: 28px 10px;
  }
}
@media (max-width: 600px) {
  section {
    padding: 20px 6px;
    border-radius: 22px;
    margin-bottom: 32px;
  }
}


/* ============== CARDS & FEATURES ============== */
.features-grid > div,
.features-list > li,
.features-icons > li {
  background: #f6f8f3;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(47, 90, 51, 0.06);
  padding: 22px 18px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, background 0.18s, transform 0.17s;
  min-width: 0;
  margin-bottom: 0;
}
.features-grid > div:hover, .features-list > li:hover {
  box-shadow: 0 7px 21px rgba(90, 123, 60, 0.13);
  background: #eaf0e7;
  transform: translateY(-2px) scale(1.018);
}
.features-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 13px;
}
.features-grid h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.17rem;
  color: #24577a;
}
.features-grid p {
  margin-bottom: 0;
}

/* ============== TESTIMONIALS ============== */
.testimonial-card {
  background: #f6f8f3;
  color: #232f27;
  border-left: 6px solid #63a048;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card blockquote {
  color: #183c25;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 1.08rem;
}
.testimonial-card cite {
  color: #24577a;
  font-size: 0.98rem;
  margin-top: 8px;
}

/* ============== FOOTER ============== */
footer {
  background: #eaf0e7;
  border-top: 1px solid #dce3d1;
  padding: 28px 0 12px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 19px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
footer nav a {
  color: #288648;
  font-size: 1.01rem;
  padding: 3px 7px;
  border-radius: 5px;
  transition: background 0.1s, color 0.1s;
}
footer nav a:hover, footer nav a:focus {
  background: #d9ead3;
  color: #194c2e;
}
.footer-cta {
  margin: 10px 0 7px 0;
}
.footer-info {
  color: #5b705d;
  font-size: 0.92rem;
  opacity: 0.93;
  margin-top: 2px;
}

/* =================== COOKIE BANNER =================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4000;
  width: 100vw;
  background: #fdf9f3;
  border-top: 3px solid #b7a97f;
  box-shadow: 0 -4px 20px rgba(72, 98, 69, 0.07);
  padding: 24px 12px 18px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  font-size: 1rem;
  color: #232f27;
  transition: transform 0.25s cubic-bezier(0.77,0,0.18,1);
}
.cookie-banner.hide {
  transform: translateY(180%);
}
.cookie-banner__text {
  flex: 1 1 250px;
  margin-right: 20px;
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  background: #63a048;
  color: #fff;
  border: none;
  border-radius: 23px;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1.01rem;
  padding: 9px 25px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.15s, color 0.11s;
  margin-right: 3px;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #288648;
  color: #fff;
}
.cookie-btn.secondary {
  background: #b7a97f;
  color: #fff;
}
.cookie-btn.secondary:hover {
  background: #a1936c;
}
.cookie-btn.outline {
  background: transparent;
  color: #288648;
  border: 2px solid #63a048;
  padding: 7.5px 21px;
}
.cookie-btn.outline:hover, .cookie-btn.outline:focus {
  background: #d9ead3;
  color: #194c2e;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 4px 16px 4px;
  }
  .cookie-banner__text {
    margin-right: 0;
    margin-bottom: 6px;
  }
  .cookie-banner__buttons {
    width: 100%;
    justify-content: flex-start;
    gap: 9px;
  }
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-backdrop {
  position: fixed;
  top:0;left:0;width:100vw;height:100vh;
  background: rgba(36,64,51,0.29);
  z-index: 4500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.82,0.09,0.24,0.97);
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 430px;
  width: 95vw;
  box-shadow: 0 8px 44px rgba(60,97,65,0.15);
  padding: 34px 32px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  margin-top: 0;
  font-size: 1.38rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  color: #24577a;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-toggle {
  width: 40px;
  height: 24px;
  border-radius: 18px;
  background: #eaf0e7;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  transition: background 0.17s;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle-slider {
  position: absolute;
  top: 2px; left: 4px;
  width: 20px; height: 20px;
  background: #b7a97f;
  border-radius: 50%;
  transition: left 0.22s cubic-bezier(0.68,0,0.21,0.94), background 0.17s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 16px;
  background: #63a048;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 6px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #24577a;
  cursor: pointer;
}
.cookie-modal-close:focus {
  outline: 2px solid #5ecad6;
}
@media (max-width: 540px) {
  .cookie-modal {
    padding: 19px 7px 15px 7px;
    border-radius: 14px;
  }
}

/* ===================== FORMS ===================== */
input, textarea, select {
  font-family: inherit;
  font-size: 1em;
  padding: 9px 14px;
  border-radius: 7px;
  border: 1.7px solid #b7a97f;
  outline: none;
  box-shadow: 0 1px 4px rgba(84, 124, 97,0.06);
  margin-bottom: 14px;
  transition: border 0.14s, box-shadow 0.15s;
  background: #fcfbf7;
  color: #244033;
}
input:focus, textarea:focus, select:focus {
  border-color: #63a048;
  box-shadow: 0 1px 9px rgba(86,164,72,0.08);
}
label {
  font-weight: 600;
  color: #537843;
  margin-bottom: 3px;
}

/* ================ CONFIRMATION MESSAGE ================ */
.confirmation-message {
  padding: 32px 26px;
  border-radius: 19px;
  background: #eaf0e7;
  color: #288648;
  font-family: 'Montserrat',sans-serif;
  font-size: 1.15rem;
  margin-bottom: 28px;
  line-height: 1.5;
}

/* ==== ORGANIC SHAPES/DECORATIVE ELEMENTS ==== */
.section::after {
  content: '';
  position: absolute;
  z-index: 0;
  width: 76px;
  height: 76px;
  right: 40px;
  bottom: 24px;
  background: radial-gradient(at 60% 40%, #eafff7 70%, transparent 82%);
  border-radius: 45% 39% 60% 69%/60% 64% 38% 41%;
  opacity: 0.25;
  pointer-events: none;
  filter: blur(1.5px);
}
@media (max-width: 480px) {
  .section::after {
    display: none;
  }
}

/* =============== Spacing Utility Classes =============== */
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-32 { margin-top: 32px !important; }

/* =================== RESPONSIVE TYPOGRAPHY =================== */
@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.01rem; }
  .hero-subline { font-size: 0.97rem; }
}

/* ================ ORGANIC / NATURE COLOR PALETTE EXTENSIONS ================ */
:root {
  --primary: #24577a;
  --secondary: #5ecad6;
  --accent: #f7f8fa;
  --organic-green: #63a048;
  --organic-leaf: #288648;
  --organic-earth: #b7a97f;
  --organic-sand: #e9e0cd;
  --organic-sky: #eafff7;
}

/* Color fallback for older browsers */
.primary-bg { background: #24577a; color: #fff; }
.organic-bg { background: #eafff7; color: #24577a; }

/* ============== FOCUS & ACCESSIBILITY ============== */
:focus {
  outline: 2px solid #5ecad6;
  outline-offset: 2px;
}

/* =========== HOVER ANIMATION FOR BUTTONS & CARDS =========== */
.cta-btn, .cookie-btn {
  transition: background 0.16s, color 0.12s, transform 0.14s, box-shadow 0.16s;
}
.card, .features-grid > div, .features-list > li {
  transition: box-shadow 0.19s, background 0.19s, transform 0.18s;
}

/* ============== PREVENT OVERLAPPING ============== */
.card, .testimonial-card, .features-grid > div, .features-list > li, section, .cookie-banner, .cookie-modal {
  min-width: 0;
  min-height: 0;
  overflow-wrap: break-word;
}

/* ============== ADDITIONAL UTILITIES ============== */
.hide-on-mobile {
  display: block;
}
@media (max-width: 680px) {
  .hide-on-mobile {
    display: none !important;
  }
}

/* ============== ORGANIC TOUCHES ============== */
.features-grid > div, .service-list li, .service-detail-list li {
  border: 1.5px solid #e9e0cd;
}

/* ========== SCROLLBAR STYLING (optional) ========== */
::-webkit-scrollbar {
  width: 10px;
  background: #eaf0e7;
}
::-webkit-scrollbar-thumb {
  background: #b7a97f;
  border-radius: 6px;
}

/* ============= PRINT SAFE (For printouts) ============= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  .section, section {
    box-shadow: none !important;
    background: #fff !important;
    border-radius: 0 !important;
  }
}
