/* 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 {
  min-height: 100vh;
  background: #f7f4ef;
  color: #22313f;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}
a {
  color: #22313f;
  text-decoration: none;
  transition: color 0.22s ease;
}
a:hover, a:focus {
  color: #54765b;
  outline: none;
}

ul, ol {
  margin-left: 1.2em;
  padding-left: 0.4em;
}
li {
  margin-bottom: 8px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #22313f;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.15; margin-bottom: 20px; }
h3 { font-size: 1.3rem; line-height: 1.2; margin-bottom: 14px; }
h4 { font-size: 1.1rem; line-height: 1.25; margin-bottom: 10px; }

p {
  margin-bottom: 16px;
}
strong {
  font-weight: bold;
  color: #54765b;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Header */
header {
  background: #ede7da;
  box-shadow: 0 1px 12px 0 rgba(46, 38, 21, 0.06);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.logo {
  display: flex;
  align-items: center;
  min-width: 128px;
}
.logo img {
  height: 44px;
  width: auto;
  border-radius: 0;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #22313f;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.22s;
}
.main-nav a:hover,
.main-nav a.active {
  border-bottom: 2px solid #54765b;
  color: #54765b;
}

.cta-primary {
  background: #54765b;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  padding: 10px 26px;
  margin-left: 26px;
  font-size: 1.1rem;
  box-shadow: 0 2px 10px rgba(58, 56, 52, 0.08);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.16s;
  text-align: center;
  outline: none;
  display: inline-block;
  letter-spacing: 0.03em;
}
.cta-primary:hover, .cta-primary:focus {
  background: #22313f;
  color: #e0cca6;
  transform: translateY(-2px) scale(1.04);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: #54765b;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  margin-left: 24px;
  transition: color 0.2s, transform 0.16s;
  z-index: 1200;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #22313f;
  transform: scale(1.1);
}

/* Main Layout & Section Styles */
main {
  flex: 1 0 auto;
}
.section,
.hero, .features, .about, .services, .contact, .testimonials, .cta, .footer {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 24px 24px 34px 12px/12px 44px 24px 32px;
  /* Organic, softly irregular rounded corners */
}

.hero {
  background: #e0cca6;
  background-image: url('../assets/bg-leaves.svg');
  background-repeat: repeat-x;
  background-position: top right;
  min-height: 300px;
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  border-radius: 0 0 42px 42px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 680px;
}
.hero h1 {
  color: #22313f;
}
.hero p {
  font-size: 1.1rem;
  max-width: 640px;
} 

.features {
  background: #f5f7f2;
  border: 1.5px solid #e0cca6;
}
.features .content-wrapper,
.about .content-wrapper,
.services .content-wrapper,
.contact .content-wrapper,
.testimonials .content-wrapper,
.cta .content-wrapper,
.footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  list-style: none;
  width: 100%;
}
.feature-grid li,
.feature-grid .text-section {
  background: #fff;
  border-radius: 14px 32px 18px 22px/18px 16px 42px 20px;
  box-shadow: 0 2px 16px rgba(140, 150, 112, 0.10), 0 1px 6px #cbd5b151;
  padding: 28px 20px 20px 20px;
  flex: 1 1 265px;
  min-width: 245px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.20s, transform 0.18s;
  border-left: 6px solid #96a196;
}
.feature-grid li:hover,
.feature-grid .text-section:hover {
  box-shadow: 0 6px 26px rgba(46,49,41,.11), 0 2px 6px #c5d5ad11;
  transform: scale(1.025) translateY(-2px);
  border-left-color: #54765b;
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
}

.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 0;
}
.text-section ul {
  margin-top: 8px;
}

/* Card Layouts */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px 28px 22px 28px/28px 34px 20px 10px;
  box-shadow: 0 2px 16px rgba(140, 150, 112, 0.095);
  padding: 24px 20px 20px 20px;
  position: relative;
  margin-bottom: 20px;
  min-width: 245px;
  flex: 1 1 270px;
  transition: box-shadow 0.22s, transform 0.18s;
  border-left: 5px solid #cbbf96;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(46,49,41,.13), 0 3px 12px #b5b5ad17;
  border-left-color: #54765b;
  transform: scale(1.025) translateY(-2px);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}

/* General Flex Layouts */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 210px;
  background: #f7f4ef;
  border-radius: 24px 34px 18px 38px/22px 36px 42px 20px;
  padding: 22px 18px;
  margin-bottom: 18px;
  box-shadow: 0 1px 8px rgba(46, 38, 21, 0.05);
}

/* Testimonial Section */
.testimonials {
  background: #efeada;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 22px 16px 22px;
  border-radius: 14px 34px 10px 30px/22px 28px 42px 14px;
  background: #fff;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px rgba(120,133,82,0.12), 0 1.5px 7px #bccaa677;
  font-size: 1.1rem;
  max-width: 470px;
  border-left: 5px solid #96a196;
  transition: box-shadow 0.2s, border-left-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(61,82,49,0.17), 0 3px 12px #a7d5a117;
  border-left-color: #54765b;
}
.testimonial-card p {
  color: #22313f;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #646c51;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
}

/* Pricing Table */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  margin-bottom: 28px;
  box-shadow: 0 1px 8px #bccaa617;
  border-radius: 18px 32px 22px 15px/17px 30px 38px 24px;
  overflow: hidden;
}
.pricing-table thead {
  background: #d9ceb2;
}
.pricing-table th, .pricing-table td {
  padding: 16px 18px;
  text-align: left;
  font-size: 1.05rem;
  border-bottom: 1px solid #e6e3d1;
}
.pricing-table th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #22313f;
  letter-spacing: 0.02em;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}
.pricing-table tr:hover td {
  background: #f7f4ed;
  color: #54765b;
}

/* Service List */
.service-list dt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #22313f;
  margin-top: 24px;
  margin-bottom: 7px;
  font-size: 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.service-list dt span {
  color: #54765b;
  font-weight: bold;
  font-size: 1.1rem;
}
.service-list dd {
  margin: 0 0 11px 0;
  margin-left: 0.5em;
  color: #48582b;
}

/* Contact Section */
.contact .text-section {
  min-width: 210px;
  flex: 1 1 224px;
  padding: 0 0 12px 0;
}
.contact .text-section h3 {
  color: #54765b;
}
.contact a {
  color: #54765b;
  text-decoration: underline;
}
.contact a:hover {
  color: #22313f;
}

/* Footer */
footer {
  background: #22313f;
  color: #e0cca6;
  padding: 32px 0 0 0;
  box-shadow: 0 -1px 16px 0 rgba(46, 38, 21, 0.04);
  flex-shrink: 0;
}
footer .container {
  flex-direction: column;
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 16px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #e0cca6;
  opacity: 0.90;
  font-size: 1rem;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.20s, color 0.2s;
}
.footer-nav a:hover {
  color: #ffffff;
  border-bottom: 1.5px solid #cbbf96;
}
.footer-info {
  font-size: 0.99rem;
  color: #d9ceb2;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0.94;
}

/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  width: 100%;
  background: #d8e5c9;
  color: #22313f;
  box-shadow: 0 -3px 18px rgba(98, 115, 81, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  font-size: 1rem;
  gap: 14px;
  transition: transform 0.34s cubic-bezier(0.82,0,0.25,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-text {
  flex: 1 1 200px;
  min-width: 120px;
  margin-right: 18px;
}
.cookie-banner .cookie-controls {
  display: flex;
  gap: 13px;
}
.cookie-btn {
  background: #54765b;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 9px 19px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-right: 0;
  transition: background 0.15s, color 0.15s, transform 0.16s;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #22313f;
  color: #e0cca6;
  transform: translateY(-2px) scale(1.04);
}
.cookie-btn.alt {
  background: #cbbf96;
  color: #22313f;
}
.cookie-btn.alt:hover {
  background: #e0cca6;
  color: #54765b;
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(87,100,81,0.33);
  z-index: 2400;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: background .24s;
}
.cookie-modal-overlay.hide {
  display: none;
}
.cookie-modal {
  background: #fff;
  color: #22313f;
  border-radius: 20px 34px 16px 22px/24px 28px 18px 22px;
  box-shadow: 0 6px 30px rgba(65,90,61,.20), 0 1.5px 7px #b1caa497;
  max-width: 402px;
  width: 95%;
  padding: 32px 26px 22px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalFadeUp .38s cubic-bezier(.11, .7, 0, 1);
}
@keyframes modalFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.48rem;
  color: #22313f;
  margin-bottom: 9px;
}
.cookie-modal .cookie-category {
  border-bottom: 1px solid #e9e8db;
  padding-bottom: 11px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-switch {
  float: right;
  appearance: none;
  width: 38px; height: 21px;
  background: #cbbf96;
  border-radius: 16px;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}
.cookie-modal .cookie-switch:checked {
  background: #54765b;
}
.cookie-modal .cookie-switch::before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.2s;
}
.cookie-modal .cookie-switch:checked::before {
  left: 20px;
}
.cookie-modal .cookie-modal-controls {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 6px;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 20px;
  background: none;
  border: none;
  color: #54765b;
  font-size: 1.45rem;
  cursor: pointer;
  z-index: 1;
  transition: color 0.14s;
}
.cookie-modal-close:hover {
  color: #22313f;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #f4f5ee;
  box-shadow: 0 10px 40px rgba(65,90,61,0.18);
  z-index: 1800;
  transform: translateX(-102vw);
  transition: transform 0.32s cubic-bezier(.6,0,.4,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #54765b;
  font-size: 2rem;
  position: absolute;
  top: 22px;
  right: 28px;
  cursor: pointer;
  z-index: 2001;
  transition: color .17s, transform .13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #22313f;
  transform: scale(1.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  margin-top: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.28rem;
  color: #22313f;
  padding: 17px 32px;
  width: 100%;
  border-bottom: 1px solid #e0cca6;
  background: none;
  transition: background 0.16s, color 0.16s;
  margin-bottom: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e5edd2;
  color: #54765b;
}

/* Utility Styles */
.rounded {
  border-radius: 24px 34px 18px 22px/24px 28px 18px 22px;
}
.bg-light {
  background: #f5f7f2;
}
.bg-accent {
  background: #e0cca6;
}
.bg-primary {
  background: #22313f;
  color: #e0cca6;
}
.shadow-md {
  box-shadow: 0 2px 16px rgba(140, 150, 112, 0.10);
}
.gap-20 {
  gap: 20px;
}
.mr-20 {
  margin-right: 20px;
}

/* Responsive Design: Mobile First */
@media (max-width: 1024px) {
  .container {
    max-width: 990px;
    padding: 0 14px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    padding: 11px 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-primary {
    margin-left: 0;
  }
  .section, .hero, .features, .about, .services, .contact, .testimonials, .cta, .footer {
    padding: 25px 7px;
    margin-bottom: 38px;
    border-radius: 10px 20px 14px 24px/14px 14px 32px 16px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card {
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .footer-info {
    gap: 2px;
    font-size: 0.97rem;
  }
  .hero .content-wrapper {
    max-width: 98%;
    padding: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .mobile-nav a {
    font-size: 1.11rem;
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
  .container { padding: 0 4px; }
  .hero {
    min-height: 135px;
    padding: 19px 6px 38px 6px;
  }
  .section, .features, .about, .services, .contact, .testimonials, .cta, .footer {
    padding: 15px 2px;
    margin-bottom: 19px;
    border-radius: 13px;
  }
}

/* Accessibility and Focus Styles */
a:focus, .cta-primary:focus, .cookie-btn:focus {
  box-shadow: 0 0 0 4px #e0cca6a4;
  outline: none;
}

::-webkit-input-placeholder { color: #6c7262; }
::-moz-placeholder { color: #6c7262; }
:-ms-input-placeholder { color: #6c7262; }
::placeholder { color: #6c7262; }

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .card, .feature-grid li, .testimonial-card,
  .cookie-banner, .cookie-modal,
  .cta-primary, .cookie-btn {
    transition: box-shadow 0.22s, background 0.18s, color 0.18s, border-color 0.16s, transform 0.18s;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  background: #e9e8db;
}
::-webkit-scrollbar-thumb {
  background: #cbbf96;
  border-radius: 12px;
}

/* Selection Color */
::selection {
  background: #e0cca6;
  color: #22313f;
}
