/* ===== 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F4F7FB;
  color: #283322;
}
ol, ul {
  list-style: none;
}
a {
  background: none;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s;
}
a:focus {
  outline: 2px solid #70A288;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  transition: background .2s, color .2s;
}


/* ===== TYPOGRAPHY ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #283322;
  background-color: #F4F7FB;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1A2233;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.subtitle {
  font-size: 1.18rem;
  color: #527058;
  margin-bottom: 20px;
  font-family: 'Open Sans', sans-serif;
}
p, ul, ol {
  font-size: 1rem;
  color: #345133;
  margin-bottom: 10px;
}
strong {
  font-weight: 700;
  color: #1A2233;
}


/* ===== NATURE ORGANIC COLOR PALETTE (earth tones, green accents) ===== */
:root {
  --primary: #1A2233;             /* Brand Primary */
  --secondary: #EEC767;           /* Brand Secondary */
  --accent: #F4F7FB;              /* Brand Accent Bg */
  --organic-green: #70A288;
  --leaf-green: #527058;
  --clay-brown: #A68F6A;
  --soil-brown: #836753;
  --beige: #F6F3EE;
  --shadow: 0 4px 14px 0 rgba(64,82,52,0.08);
  --card-radius: 18px;
  --btn-radius: 25px;
}

/* ===== STRUCTURE AND LAYOUT ===== */
.container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--beige);
  border-radius: 30px;
  box-shadow: var(--shadow);
  position: relative;
}
@media (max-width: 900px) {
  .section {
    padding: 32px 10px;
    margin-bottom: 36px;
  }
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: #fff;
  border-bottom: 1px solid #E2E7DB;
  box-shadow: 0 1px 8px 0 rgba(94,140,69,0.04);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 10px;
  position: relative;
  transition: background .18s, color .18s;
}
header nav a:hover:not(.cta), header nav a:focus:not(.cta) {
  background: var(--organic-green);
  color: #fff;
}
header nav .cta.primary {
  background: var(--organic-green);
  color: #fff;
  border-radius: var(--btn-radius);
  box-shadow: 0 2px 14px 0 rgba(74,112,88,0.06);
  padding: 8px 24px;
  font-weight: 700;
  transition: box-shadow .15s, background .18s;
}
header nav .cta.primary:hover, header nav .cta.primary:focus {
  background: var(--leaf-green);
  box-shadow: 0 4px 24px 0 rgba(62,101,70,0.18);
  color: #fff;
  outline: none;
}
header img {
  height: 48px;
  width: auto;
}
.mobile-menu-toggle {
  display: none;
  margin-left: 12px;
  background: var(--leaf-green);
  color: #fff;
  border-radius: 40px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 32;
  transition: background .18s, color .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--organic-green);
  color: #fff;
}

@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(240,243,233, 0.98);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.82, .01, .27, 1) ;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 18px 16px 8px auto;
  background: var(--organic-green);
  color: #fff;
  border-radius: 100px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-self: flex-end;
  transition: background .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--leaf-green);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  padding: 16px 32px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  font-size: 1.28rem;
  padding: 12px 4px 10px 0;
  border-radius: 10px;
  background: none;
  transition: background .16s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--organic-green);
  color: #fff;
}

@media (max-width: 768px) {
  .mobile-menu {
    padding-top: 40px;
  }
  .mobile-nav {
    padding: 12px 18px;
    gap: 18px;
  }
}

/* ===== MAIN SECTIONS & FLEX PATTERNS ===== */
.features-grid, .card-container, .content-grid, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  justify-content: flex-start;
}
.card-container {
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 12px;
  min-width: 240px;
  flex: 1 1 300px;
  transition: box-shadow .21s, transform .22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(62,106,80, 0.13);
  transform: translateY(-3px) scale(1.01);
}
.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;
}

@media (max-width: 768px) {
  .features-grid, .content-grid, .blog-list {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .section {
    padding: 32px 8px;
  }
}

/* ===== CARDS & COMPONENTS ===== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card, .feature-item, .blog-post, .featured-article {
  border-radius: var(--card-radius);
}
.blog-list {
  width: 100%;
  gap: 24px;
}
.blog-post, .featured-article {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 26px 20px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: box-shadow .19s;
}
.blog-post:hover, .blog-post:focus-within, .featured-article:hover, .featured-article:focus-within {
  box-shadow: 0 6px 27px 0 rgba(106,148,114,0.11);
  z-index: 3;
}
.featured-article {
  background: var(--organic-green);
  color: #fff;
  box-shadow: 0 7px 28px 0 rgba(61,120,70,0.13);
}
.featured-article h3, .featured-article p {
  color: #fff;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-left: 7px solid var(--organic-green);
  box-shadow: var(--shadow);
  border-radius: var(--card-radius);
  margin-bottom: 20px;
  flex: 1 1 330px;
  color: #253028;
  font-size: 1.06rem;
  transition: box-shadow .18s;
}
.testimonial-card span {
  color: var(--leaf-green);
  font-weight: 600;
  font-family: 'Montserrat',sans-serif;
  margin-left: 10px;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 6px 27px 0 rgba(106,148,114,0.14);
}

/* High contrast for accessibility (testimonials) */
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== BUTTONS & CTA ===== */
.cta,
.cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--btn-radius);
  transition: background .18s, transform .12s, color .15s, box-shadow .16s;
  cursor: pointer;
  position: relative;
  border: none;
  text-align: center;
  margin-top: 8px; /* for visual rhythm */
  margin-bottom: 6px;
}
.cta.primary {
  background: var(--organic-green);
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(74,112,88,0.09);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--leaf-green);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 28px 0 rgba(62,101,70,0.22);
}
.cta {
  background: var(--secondary);
  color: #253028;
  margin-bottom: 6px;
}
.cta:hover, .cta:focus {
  background: var(--clay-brown);
  color: #fff;
  transform: translateY(-1.5px) scale(1.026);
  box-shadow: 0 2px 14px 0 rgba(145,135,78,0.12);
}

/* ===== LISTS & TEXT ===== */
.text-section ul, .text-section ol {
  margin-left: 1.35em;
  margin-bottom: 12px;
  color: #345133;
}
.text-section ul li,
.text-section ol li {
  margin-bottom: 7px;
  line-height: 1.6;
  position: relative;
}
.text-section ul li:before {
  content: '';
  display: inline-block;
  margin-right: 12px;
  width: 10px;
  height: 10px;
  background: var(--organic-green);
  border-radius: 50%;
  vertical-align: middle;
  box-shadow: 0 1px 2px 0 rgba(40,55,37,0.07);
}
.text-section ol li {
  counter-increment: item;
}
.text-section ol li:before {
  content: counter(item)'.';
  padding-right: 8px;
  color: var(--organic-green);
  font-family: 'Montserrat', sans-serif;
}
.text-section ol {
  counter-reset: item;
}

.text-section {
  margin-bottom: 4px;
}

/* ===== FOOTER ===== */
footer {
  background: #FAF9F6;
  border-top: 1px solid #E2E7DB;
  padding: 32px 0 0 0;
  font-family: 'Open Sans',sans-serif;
  color: #253028;
}
footer .container {
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 0 18px 22px 18px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 10px;
  font-size: 1rem;
}
footer nav a {
  color: #254828;
  font-family: 'Montserrat',sans-serif;
  font-weight: 500;
  padding: 2px 4px;
  border-radius: 6px;
  transition: background .18s, color .16s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--organic-green);
  color: #fff;
}
.footer-contact {
  margin-top: 10px;
  color: #254828;
  font-size: 0.95rem;
  text-align: center;
}

/* ===== ORGANIC SHAPES: Decorative Rounds/Wavy (optional as BG) ===== */
.section:before {
  content: '';
  display: block;
  position: absolute;
  left: -60px;
  top: -50px;
  width: 120px;
  height: 120px;
  background: rgba(112,162,136,.09);
  border-radius: 65% 35% 43% 57% / 70% 45% 55% 30%;
  z-index: 0;
  pointer-events: none;
  filter: blur(2px);
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  right: -60px;
  bottom: -50px;
  width: 80px;
  height: 80px;
  background: rgba(238,199,103,.08);
  border-radius: 61% 39% 55% 45%/ 50% 80% 20% 50%;
  z-index: 0;
  pointer-events: none;
  filter: blur(2px);
}
.section > .container, .section > * {
  position: relative;
  z-index: 2;
}

/* Remove organic shapes for sections with class .plain-bg */
.section.plain-bg:before,
.section.plain-bg:after { display: none; }

/* ===== FORMS (optional, newsletter, etc.) ===== */
input, textarea, select {
  font-family: 'Open Sans', sans-serif;
  border-radius: 13px;
  border: 1.5px solid #DAD8CD;
  padding: 11px 13px;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 14px;
  transition: border .15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.8px solid var(--organic-green);
  outline: none;
}

/* ===== GENERAL UTILITIES ===== */
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-0 { margin-top: 0 !important; }
.gap-20 { gap: 20px !important; }

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 700px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 16px 2vw; }
}
@media (max-width: 480px) {
  .section { border-radius: 12px; }
  .card, .testimonial-card, .blog-post, .featured-article { padding: 16px 8px; }
  .container { padding: 0 4px; }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fffdfa;
  color: #253028;
  border-top: 2px solid #D8D6C0;
  box-shadow: 0 -2px 17px rgba(156,140,65,0.08);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 8vw 14px 5vw;
  z-index: 9002;
  animation: cookieBannerFadeIn 0.5s cubic-bezier(.93, .01, .19, 1);
}
@keyframes cookieBannerFadeIn {
  0% { opacity: 0; transform: translateY(90px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  flex: 1 1 340px;
  font-size: 1rem;
  margin-right: 14px;
  color: #345133;
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-banner__button {
  padding: 8px 18px;
  font-size: 1rem;
  border-radius: 19px;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  border: 0;
  transition: background .15s, color .14s;
  cursor: pointer;
}
.cookie-banner__button.accept {
  background: var(--organic-green);
  color: #fff;
}
.cookie-banner__button.accept:hover, .cookie-banner__button.accept:focus {
  background: var(--leaf-green);
}
.cookie-banner__button.reject {
  background: #ECE3D0;
  color: #253028;
}
.cookie-banner__button.reject:hover, .cookie-banner__button.reject:focus {
  background: #EEC767;
}
.cookie-banner__button.settings {
  background: #fff;
  color: var(--organic-green);
  border: 1.3px solid var(--organic-green);
}
.cookie-banner__button.settings:hover, .cookie-banner__button.settings:focus {
  background: var(--organic-green);
  color: #fff;
}
@media (max-width: 800px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 13px 15px 13px 10px;
  }
  .cookie-banner__text {
    margin-right: 0;
  }
}

/* ========== COOKIE MODAL ========== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,48,33,0.17);
  z-index: 9995;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn .3s cubic-bezier(.81, .01, .27, 1);
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fffdfa;
  border-radius: 24px;
  box-shadow: 0 12px 60px 0 rgba(56,70,25,0.15);
  max-width: 390px;
  width: 92vw;
  padding: 32px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  margin-bottom: 10px;
  font-family: 'Montserrat',sans-serif;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-category__label {
  flex: 1 1 auto;
  color: #253028;
  font-family: 'Open Sans',sans-serif;
  font-weight: 600;
}
.cookie-category__toggle {
  width: 36px;
  height: 21px;
  border-radius: 20px;
  background: #d6e3cf;
  position: relative;
  transition: background 0.15s;
  flex-shrink: 0;
}
.cookie-category__toggle[aria-checked="true"] {
  background: var(--organic-green);
}
.cookie-category__toggle .toggle-handle {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px 0 rgba(82,112,88,0.07);
  transition: left .22s;
}
.cookie-category__toggle[aria-checked="true"] .toggle-handle {
  left: 17px;
}
.cookie-category__toggle[aria-disabled="true"] {
  opacity: 0.44;
  cursor: not-allowed;
}
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--organic-green);
  color: #fff;
  border-radius: 20px;
  width: 32px;
  height: 32px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background .14s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: var(--leaf-green);
}
@media (max-width: 430px) {
  .cookie-modal {
    padding: 18px 7px 16px 7px;
    border-radius: 14px;
  }
}

/* ===== MICRO-INTERACTIONS (button/cta/focus) ===== */
.cta:active, .cta.primary:active, .cookie-banner__button:active {
  transform: scale(0.97);
}
input:active, textarea:active, select:active {
  border-color: var(--organic-green);
}
::-webkit-input-placeholder { color: #9dad99; }
::-moz-placeholder { color: #9dad99; }
:-ms-input-placeholder { color: #9dad99; }
::placeholder { color: #9dad99; }

/* ===== ACCESSIBILITY ===== */
*:focus-visible {
  outline: 2.5px solid #EEC767;
  outline-offset: 2px;
}

/* ===== VISUAL ENHANCEMENTS for ORGANIC AESTHETIC ===== */
.card, .testimonial-card, .blog-post, .featured-article, .section {
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
}
.section {
  border-radius: 30px 60px 40px 30px/ 40px 25px 60px 30px;
}
@media (max-width: 600px) {
  .section {
    border-radius: 14px;
  }
}

/* ===== IMAGES ===== */
img[alt*="Icon"], img[src*="icon"] {
  width: 43px;
  height: 43px;
  margin-bottom: 7px;
  border-radius: 50%;
  background: #e3ede6;
  padding: 8px;
  box-shadow: 0 1px 8px 0 rgba(112,162,136,0.09);
}

/* ===== CUSTOM SCROLLBAR ===== */
body::-webkit-scrollbar {
  width: 11px;
  background: #E8EFE5;
  border-radius: 8px;
}
body::-webkit-scrollbar-thumb {
  background: var(--organic-green);
  border-radius: 8px;
}

/* ===== PRINT STYLES ===== */
@media print {
  header,
  footer,
  .mobile-menu,
  .cookie-banner,
  .cookie-modal-overlay {
    display: none !important;
  }
}
