/* --- CSS RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  min-height: 100vh;
  background: #f4f3ef;
  color: #233828;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.02em;
  background-color: #f4f3ef;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}
input, button, textarea, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}
a {
  color: #245D3C;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFA21A;
}

/* --- THEME COLORS, FONTS, CUSTOM PROPERTIES --- */
:root {
  --color-primary: #245D3C;
  --color-primary-dark: #1c4b30;
  --color-secondary: #f7f7f7;
  --color-accent: #FFA726;
  --color-accent-dark: #FFA21A;
  --color-brown-light: #e5d9c6;
  --color-brown: #a98362;
  --color-green-light: #89ae81;
  --color-background: #f4f3ef;
  --color-heading: #23432c;
  --color-text: #233828;
}

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

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-background);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  color: var(--color-heading);
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.3rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
}
.subtitle {
  font-size: 1.2rem;
  font-family: 'Roboto', sans-serif;
  color: var(--color-green-light);
  margin-bottom: 16px;
}

/* --- SPACING & CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  margin-bottom: 0;
  padding: 0;
}

/* --- ORGANIC SECTION BACKDROPS --- */
section.hero {
  background-color: #e5d9c6;
  border-radius: 0 0 100px 0/0 0 60px 0;
  box-shadow: 0 4px 32px 0 rgba(36,93,60,0.04);
  margin-bottom: 60px;
  padding: 60px 0 45px 0;
  position: relative;
}
section.cta {
  background: var(--color-primary);
  color: #fff;
  border-radius: 40px;
  text-align: center;
  margin-bottom: 0;
  box-shadow: 0 3px 30px 0 rgba(49,76,47,0.12);
  padding: 45px 0 45px 0;
}
section.cta h2 {
  color: #fff;
}

/* --- HEADER STYLES --- */
header {
  background: var(--color-secondary);
  box-shadow: 0 2px 18px 0 rgba(49,76,47,0.09);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1rem;
  text-decoration: none;
  border-radius: 22px;
  padding: 8px 18px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-brown-light);
  color: var(--color-accent-dark);
}
.cta-btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 27px;
  border-radius: 28px 14px 24px 20px/28px 22px 24px 16px;
  box-shadow: 0 4px 22px 0 rgba(255,162,26,0.13);
  font-size: 1.03rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-left: 18px;
  transition: background 0.2s, color 0.2s, box-shadow 0.23s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary-dark);
  color: #fff;
  box-shadow: 0 4px 32px 0 rgba(36,93,60,0.14);
}
.mobile-menu-toggle {
  background: var(--color-primary);
  color: #fff;
  padding: 11px 16px 11px 16px;
  border-radius: 50%;
  border: none;
  font-size: 2.1rem;
  line-height: 1;
  display: none;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-green-light);
  color: var(--color-primary-dark);
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,93,60,0.97);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.7,0,.3,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 26px 26px 12px 0;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 2.2rem;
  border: none;
  transition: background 0.18s;
  z-index: 10001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #f68d03;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 0 38px;
  gap: 28px;
  font-size: 1.3rem;
  margin-top: 15vh;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 8px 10px 8px;
  border-radius: 18px 18px 23px 14px/16px 22px 18px 17px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-brown-light);
  color: var(--color-accent-dark);
}

/* --- HERO --- */
.hero {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .container {
  height: 100%;
}
.hero .content-wrapper {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/* --- CARDS AND FLEX PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 -12px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: 22px 14px 23px 18px/16px 18px 23px 13px;
  box-shadow: 0 2px 14px 2px rgba(49,76,47,0.07);
  padding: 26px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  transition: transform 0.18s, box-shadow 0.22s;
  position: relative;
}
.card:hover, .card:focus-within {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 8px 34px 2px rgba(36,93,60,0.11);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.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;
  margin-bottom: 24px;
}

/* --- FEATURE & BENEFIT GRIDS --- */
.feature-grid,
.service-list,
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 28px;
}
.feature-grid li,
.service-list li,
.benefits-grid li {
  background: #fff;
  border-radius: 25px 16px 24px 18px/20px 17px 21px 18px;
  box-shadow: 0 4px 18px 0 rgba(49,76,47,0.10);
  padding: 28px 24px 22px 24px;
  flex: 1 1 210px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.17s;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
}
.feature-grid li:hover,
.service-list li:hover,
.benefits-grid li:hover {
  box-shadow: 0 8px 36px 0 rgba(36,93,60,0.15);
  transform: translateY(-5px) scale(1.015);
}
.feature-grid img,
.service-list img {
  height: 48px;
  width: 48px;
  margin-bottom: 8px;
}
.price {
  display: inline-block;
  margin-top: 8px;
  color: var(--color-primary);
  font-weight: 600;
  background: var(--color-brown-light);
  border-radius: 7px;
  padding: 2px 10px;
}

.benefits-grid {
  gap: 20px;
}
.benefits-grid li {
  background: var(--color-brown-light);
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 1.08rem;
}

.faq-list {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(36,93,60,0.06);
  padding: 24px 24px 14px 24px;
  margin-bottom: 26px;
}
.faq-list h3 {
  margin: 20px 0 8px 0;
  color: var(--color-primary);
}
.faq-list p {
  margin-bottom: 8px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f4f9f5;
  border-left: 6px solid var(--color-primary);
  box-shadow: 0 3px 15px 0 rgba(36,93,60,0.065);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 22px 16px 21px 19px/13px 17px 20px 18px;
  transition: box-shadow 0.2s, transform 0.14s;
}
.testimonial-card blockquote {
  color: #23432c;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  line-height: 1.5;
  margin-right: 18px;
}
.testimonial-card cite {
  color: var(--color-accent-dark);
  font-weight: 600;
  font-style: normal;
  font-size: 0.99rem;
  margin-top: 0;
}
.testimonial-card:hover {
  box-shadow: 0 10px 32px 2px rgba(36,93,60,0.14);
  transform: scale(1.012);
}

/* --- TABLES --- */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(36,93,60,0.09);
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 18px 14px;
  text-align: left;
}
.pricing-table th {
  background: var(--color-brown-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 700;
}
.pricing-table tbody tr:nth-child(odd) {
  background: #f9f6f1;
}
.pricing-table tbody tr:nth-child(even) {
  background: #fff;
}

/* --- TEXT & LIST --- */
.text-section:not(:last-child) {
  margin-bottom: 22px;
}
.text-section ul {
  margin-left: 0;
}
.text-section li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.6;
}
.text-section li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--color-accent-dark);
  border-radius: 50%;
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary-dark);
  color: #fff;
  padding: 27px 0 23px 0;
  border-radius: 45px 0 0 0/29px 0 0 0;
  box-shadow: 0 -2px 30px 0 rgba(36,93,60,0.095);
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #e5d9c6;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.17s, text-decoration 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}
.footer-info {
  font-size: 0.95rem;
  color: #e5d9c6;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12000;
  background: #efede7;
  color: #23432c;
  padding: 20px 18px 18px 18px;
  box-shadow: 0 -4px 20px 0 rgba(36,93,60,0.10);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.34s cubic-bezier(0.7,0,0.3,1), opacity 0.29s;
  min-width: 240px;
  max-width: 98vw;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner .cookie-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 3px;
}
.cookie-banner button {
  border-radius: 18px 13px 22px 18px/15px 14px 18px 13px;
  border: none;
  padding: 10px 21px;
  background: var(--color-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 3px;
  box-shadow: 0 2px 7px 0 rgba(36,93,60,0.09);
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .cookie-btn-secondary {
  background: #c8bba4;
  color: var(--color-primary-dark);
}
.cookie-banner .cookie-btn-secondary:hover,
.cookie-banner .cookie-btn-secondary:focus {
  background: #b09b7c;
  color: #23432c;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-accent-dark);
  color: #fff;
}
.cookie-banner .cookie-btn-settings {
  background: #fff;
  color: var(--color-primary-dark);
  border: 1px solid #d5cfba;
}
.cookie-banner .cookie-btn-settings:hover, .cookie-banner .cookie-btn-settings:focus {
  background: #f7f7f7;
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 12001;
  background: rgba(36,93,60,0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.28s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  min-width: 320px;
  max-width: 93vw;
  background: #fff;
  border-radius: 30px 22px 28px 20px/22px 30px 25px 19px;
  box-shadow: 0 6px 48px 0 rgba(36,93,60,0.18);
  padding: 36px 32px 28px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1.06rem;
}
.cookie-modal h2 {
  color: var(--color-primary);
  margin-bottom: 4px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin: 9px 0;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1.04rem;
}
.cookie-toggle {
  width: 42px;
  height: 26px;
  border-radius: 13px;
  border: none;
  background: var(--color-brown-light);
  position: relative;
  transition: background 0.18s;
}
.cookie-toggle input[type='checkbox'] {
  display: none;
}
.cookie-toggle span {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 22px;
  height: 22px;
  background: var(--color-green-light);
  border-radius: 50%;
  transition: left 0.18s, background 0.21s;
}
.cookie-toggle input[type='checkbox']:checked + span {
  left: 18px;
  background: var(--color-accent-dark);
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  gap: 15px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-buttons button {
  border-radius: 17px 16px 19px 13px/14px 18px 18px 14px;
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
}
.cookie-modal .cookie-modal-buttons .cookie-btn-cancel {
  background: #e5d9c6;
  color: var(--color-primary-dark);
}

/* --- RESPONSIVE & MOBILE FIRST --- */
@media (max-width: 1160px) {
  .container { max-width: 98vw; }
}
@media (max-width: 980px) {
  .main-nav { gap: 21px; }
  .feature-grid, .service-list, .benefits-grid {
    gap: 20px;
  }
  section.hero {
    padding-top: 43px; padding-bottom: 36px;
    border-radius: 0 0 60px 0/0 0 30px 0;
  }
}
@media (max-width: 768px) {
  header .container {
    height: 66px;
    padding: 0 8px;
  }
  .main-nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
    margin-right: 0;
  }
  .feature-grid, .service-list, .benefits-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li, .service-list li, .benefits-grid li {
    min-width: 0;
    width: 100%;
  }
  .section {
    margin-bottom: 40px;
    padding: 22px 9px;
  }
  section.hero {
    padding-top: 22px; padding-bottom: 22px;
    min-height: unset;
    border-radius: 0 0 37px 0/0 0 16px 0;
  }
  .hero .content-wrapper {
    align-items: flex-start;
    gap: 8px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
    margin: 0;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.20rem; }
  .hero .container { padding: 0 2px; }
  .cookie-modal {
    padding: 20px 7vw 20px 7vw;
    min-width: 0;
  }
  .footer-nav { gap: 12px; }
}

/* --- MICRO-INTERACTIONS & ANIMATIONS --- */
.card, .testimonial-card, .feature-grid li, .service-list li, .benefits-grid li, .cta-btn, .main-nav a, .mobile-nav a, .footer-nav a, .cookie-banner,
.mobile-menu, .cookie-modal, .cookie-modal-backdrop {
  will-change: transform, box-shadow, background, color, opacity;
}
.card, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.15s;
}
.mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-backdrop {
  transition-timing-function: cubic-bezier(.62,.1,.46,1.22);
}

/* --- FORMS (for future) --- */
input, textarea, select {
  padding: 11px 15px;
  border-radius: 10px 5px 10px 5px/7px 10px 7px 8px;
  border: 1px solid #ded8c7;
  background: #f7f7f7;
  margin-bottom: 16px;
  width: 100%;
  font-size: 1rem;
  color: var(--color-text);
  outline: none;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-primary);
}

/* ---- ACCESSIBILITY ---- */
:focus {
  outline: 2px solid var(--color-accent-dark);
  outline-offset: 2px;
}

/* --- MISC ORGANIC DECOR --- */
section.hero:before {
  content: '';
  position: absolute;
  top: -60px;
  left: -54px;
  width: 120px;
  height: 90px;
  background: var(--color-green-light);
  opacity: 0.11;
  border-radius: 90px 60px 50px 120px/80px 70px 100px 37px;
  z-index: 1;
  pointer-events: none;
}

section.cta:after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: 90px;
  height: 60px;
  background: var(--color-accent);
  opacity: 0.13;
  border-radius: 80px 50px 56px 70px/70px 66px 44px 38px;
  z-index: 0;
  pointer-events: none;
}

section.cta, section.hero {
  position: relative;
  overflow: hidden;
  z-index: 2;
}

/* --- HIDE/SHOW UTILITY CLASSES --- */
.hide { display: none !important; }
.show { display: block !important; }

/* --- END --- */
