/* --- CSS RESET & BASE --- */
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, 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;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F5F7FA;
  color: #1C3223;
}
a {
  color: #305C3C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #648C56;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
img {
  max-width: 100%;
  display: inline-block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', 'Arial Rounded MT Bold', Arial, sans-serif;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}
p {
  font-size: 1rem;
  margin-bottom: 1em;
  color: #24412b;
}
strong { font-weight: 700; }

/* --- FLEXBOX LAYOUTS & SPACING --- */
.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 950px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}

.feature-item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(48,92,60,0.07),
              0 1.5px 8px rgba(141,201,151,0.09);
  border: 2px solid #B8D8BE;
  padding: 24px 24px 20px 24px;
  min-width: 220px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 4px rgba(48,92,60,0.09));
}
.feature-item h3 {
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #305C3C;
}
.feature-item p, .feature-item span {
  font-size: 0.98rem;
  color: #426847;
}
.feature-item:hover, .feature-item:focus {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 32px rgba(48,92,60,0.14), 0 3px 12px rgba(141,201,151,0.13);
  border-color: #305C3C;
  z-index: 2;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.text-section ul,
.text-section ol {
  margin-bottom: 1em;
}
.text-section li {
  margin-bottom: 7px;
  font-size: 1rem;
  line-height: 1.5;
  color: #2a442d;
  display: flex;
  align-items: center;
  gap: 8px;
}
.text-section img {
  width: 21px;
  height: 21px;
  vertical-align: middle;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FFF7EC;
  border-radius: 18px;
  border-left: 4px solid #305C3C;
  box-shadow: 0 2px 12px rgba(243,209,170,0.09);
  flex: 1 1 320px;
  min-width: 250px;
  max-width: 380px;
  position: relative;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #15311d;
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #4A693E;
  font-weight: 600;
}

.hero-section {
  background: #B8D8BE;
  background-image: url('../assets/abstract-bg.svg');
  background-repeat: no-repeat;
  background-position: right 60px bottom 10px;
  background-size: contain;
  padding: 64px 0 54px 0;
  margin-bottom: 0;
}
.hero-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 8px;
}
.hero-section h1 {
  font-size: 2.7rem;
  color: #305C3C;
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(184,216,190,0.13);
}
.hero-section p {
  font-size: 1.25rem;
  color: #296034;
}

.cta-btn {
  display: inline-block;
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 14px 32px;
  margin: 14px 0 0 0;
  color: #fff;
  background: #305C3C;
  border: none;
  border-radius: 35px;
  box-shadow: 0 4px 16px rgba(48,92,60,0.08);
  transition: background 0.16s, transform 0.14s, box-shadow 0.14s;
  cursor: pointer;
  outline: none;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #223F2B;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 18px rgba(50,92,60,0.11);
}

/* --- HEADER & NAV --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 8px rgba(184,216,190,0.08);
  position: relative;
  z-index: 80;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 12px 0;
  max-width: 1160px;
  margin: 0 auto;
  gap: 18px;
}
.main-nav a img {
  height: 44px;
}
.main-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1.07rem;
  color: #305C3C;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 6px 9px;
  border-radius: 10px;
  transition: background 0.15s, color 0.14s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #B8D8BE;
  color: #22482b;
}
.main-nav .cta-btn {
  margin: 0 0 0 14px;
}
/* HAMBURGER MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  line-height: 1;
  background: #305C3C;
  color: #fff;
  border: none;
  border-radius: 13px;
  padding: 9px 16px;
  cursor: pointer;
  margin-right: 14px;
  transition: background 0.15s;
  z-index: 201;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #204123;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(60,97,74,0.97);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 0;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.8,.01,.23,1), opacity 0.26s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  border: none;
  cursor: pointer;
  margin: 26px 26px 0 0;
  transition: color 0.15s;
  z-index: 201;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FEC915;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 36px 36px 0 24px;
  width: 90vw;
  gap: 18px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1.40rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  padding: 7px 0 7px 0;
  border-radius: 9px;
  min-width: 180px;
  transition: background 0.12s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B8D8BE;
  color: #305C3C;
}

/* --- FOOTER --- */
footer {
  background: #305C3C;
  color: #fff;
  padding: 38px 0 18px 0;
  margin-top: 60px;
  width: 100%;
  position: relative;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-menu a {
  color: #B8D8BE;
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-info {
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #EAF3ED;
  text-align: center;
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 250;
  background: #305C3C;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 16px 24px;
  gap: 24px;
  font-size: 1.05rem;
  font-family: 'Open Sans', Arial, sans-serif;
  box-shadow: 0 -2px 14px rgba(58,87,59,0.09);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s, transform 0.38s cubic-bezier(.8,.01,.23,1);
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner .cookie-btn {
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 700;
  padding: 11px 23px;
  border-radius: 22px;
  border: none;
  margin: 0 7px 0 0;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-banner .cookie-btn.accept {
  background: #B8D8BE;
  color: #284229;
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: #7fc7a3;
  color: #183215;
}
.cookie-banner .cookie-btn.reject {
  background: #FEC915;
  color: #305C3C;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #F5E8BC;
  color: #223F2B;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: #305C3C;
  border: 1px solid #B8D8BE;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #B8D8BE;
  color: #173117;
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 100vh);
  opacity: 0;
  z-index: 300;
  background: #fff;
  color: #305C3C;
  min-width: 320px;
  max-width: 95vw;
  width: 410px;
  box-shadow: 0 6px 36px rgba(48,92,60,0.17);
  border-radius: 20px;
  padding: 36px 36px 24px 36px;
  font-family: 'Open Sans', Arial, sans-serif;
  text-align: left;
  transition: opacity 0.25s, transform 0.31s cubic-bezier(.8,.01,.23,1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.cookie-modal h3 {
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1.36rem;
  margin-bottom: 8px;
}
.cookie-modal .category {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 9px;
}
.cookie-modal .category-label {
  font-weight: bold;
  flex: 1 1 auto;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.cookie-modal .category-toggle {
  width: 38px;
  height: 22px;
  background: #B8D8BE;
  border-radius: 14px;
  position: relative;
  transition: background 0.15s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.cookie-modal .category-toggle input[type="checkbox"] {
  display: none;
}
.cookie-modal .slider {
  display: block;
  background: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-left: 3px;
  box-shadow: 0 1px 6px rgba(176,216,190,0.11);
  position: absolute;
  left: 0; top: 2px;
  transition: left 0.18s;
}
.cookie-modal .category-toggle input:checked + .slider {
  left: 18px;
}
.cookie-modal .info {
  font-size: 0.92rem;
  color: #40684c;
}
.cookie-modal .btn-row {
  display: flex;
  gap: 13px;
  margin-top: 18px;
}
.cookie-modal .cookie-btn {
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  padding: 10px 22px;
  cursor: pointer;
}
.cookie-modal .cookie-btn.save {
  background: #305C3C;
  color: #fff;
  font-weight: 700;
}
.cookie-modal .cookie-btn.save:hover, .cookie-modal .cookie-btn.save:focus {
  background: #183215;
}
.cookie-modal .cookie-btn.cancel {
  background: #B8D8BE;
  color: #305C3C;
}
.cookie-modal .cookie-btn.cancel:hover, .cookie-modal .cookie-btn.cancel:focus {
  background: #7ec395;
  color: #1a351b;
}
.cookie-modal .close-x {
  position: absolute;
  top: 16px; right: 23px;
  font-size: 1.38rem;
  background: transparent;
  border: none;
  color: #305C3C;
  cursor: pointer;
}
.cookie-modal .close-x:hover, .cookie-modal .close-x:focus {
  color: #FEC915;
}

/* --- CARD-LIKE COMPONENTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(48,92,60,0.09);
  padding: 28px 22px 24px 22px;
  min-width: 260px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.13s, box-shadow 0.11s;
}
.card:hover, .card:focus {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 6px 20px rgba(48,92,60,0.16);
  z-index: 2;
}

/* --- SPACING UTILITIES (from MANDATORY) --- */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* --- VISUAL & CREATIVE ELEMENTS --- */
/* Custom artistic touches, irregular shapes, and color accents */
.feature-item:before {
  content: '';
  display: block;
  position: absolute;
  top: -16px; right: -16px;
  width: 38px; height: 38px;
  background: #FEC915;
  opacity: 0.085;
  border-radius: 37% 63% 61% 39% / 60% 41% 59% 40%;
  pointer-events: none;
  z-index: 0;
}
.feature-item:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -11px; left: -13px;
  width: 32px; height: 32px;
  background: #329A53;
  opacity: 0.07;
  border-radius: 62% 38% 67% 33% / 47% 40% 60% 53%;
  pointer-events: none;
  z-index: 0;
}

/* Artistic header underline */
h2 {
  position: relative;
  padding-bottom: 7px;
  margin-bottom: 14px;
}
h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg,#FEC915 60%, #58B67B 100%);
  border-radius: 3px;
  margin-top: 5px;
  margin-left: 0;
}

/* --- BUTTONS & INTERACTION --- */
button, .btn, .cta-btn {
  outline: none;
  border: none;
  cursor: pointer;
  font-family: 'Quicksand', Arial, sans-serif;
  transition: background 0.16s, color 0.13s, box-shadow 0.14s, transform 0.11s;
}

/* --- MOBILE FIRST & RESPONSIVE LAYOUTS --- */
@media (max-width: 1100px) {
  .features-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
    padding: 0 8px;
  }
  .hero-section { padding: 44px 0 38px 0; }
  .features-grid { gap: 14px; }
}
@media (max-width: 768px) {
  .main-nav ul {
    display: none;
  }
  .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-item, .testimonial-card, .card {
    min-width: 90vw;
    max-width: 99vw;
    flex: 1 1 100%;
  }
  .features-grid, .card-container, .testimonials {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .content-wrapper {
    max-width: 99vw;
    gap: 19px;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .section { padding: 30px 6px; }
  .text-image-section { flex-direction: column; align-items: center; gap: 24px; }
  .mobile-menu { padding-top: 0; }
}
@media (max-width: 550px) {
  .hero-section {
    padding: 28px 0 19px 0;
    margin-bottom: 0;
  }
}

/* --- ADDITIONAL ARTISTIC HIGHLIGHTS --- */
.hero-section, .feature-item, .testimonial-card, .cta-btn {
  /* Add gentle floating entry animation */
  animation: fadeInArtistic 0.95s cubic-bezier(.52,.1,.38,.89) both;
}
@keyframes fadeInArtistic {
  0% { opacity: 0; transform: translateY(25px) scale(0.96); }
  50% { opacity: 1; }
  100% { opacity:1; transform: translateY(0) scale(1); }
}

/* --- TYPOGRAPHY MODIFIERS FOR ARTISTIC LOOK --- */
h1, .cta-btn, .main-nav ul li a, .mobile-nav a {
  font-family: 'Quicksand', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-feature-settings: 'ss01' on, 'ss03' on;
  letter-spacing: 0.02em;
}

/* --- VISUAL HIERARCHY & ACCESSIBILITY --- */
*:focus {
  outline: 2px solid #FEC915;
  outline-offset: 2px;
}

/* --- ENSURE ADEQUATE SPACING EVERYWHERE --- */
h1, h2, h3, h4, h5, h6, .section, .features-grid, .card-container, .card,
.feature-item, .testimonial-card, .content-wrapper, .footer-menu,
.text-image-section {
  scroll-margin-top: 110px;
}

/* --- HELPERS & UTILITIES --- */
.hide { display: none!important; }
.flex { display: flex; }
.centered { justify-content: center; align-items: center; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.w100 { width: 100%; }

/* --- END --- */