/* CSS RESET & NORMALIZATION */
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;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  border: none;
  display: inline-block;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}


/* NATURE ORGANIC DESIGN SYSTEM & BRAND COLORS */
:root {
  --clr-primary: #1A2233;
  --clr-secondary: #C6AE7E;
  --clr-accent: #F4F7FA;
  --clr-earth-1: #44513B;
  --clr-earth-2: #877f6c;
  --clr-green: #5B8856;
  --clr-leaf: #A7C98C;
  --clr-brown: #B3A078;
  --clr-white: #fff;

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;

  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 8px 24px rgba(68, 81, 59, 0.14);
  --shadow-soft: 0 1.5px 6px rgba(109, 123, 97, 0.09);
}

html {
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  background: var(--clr-accent);
  color: var(--clr-primary);
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1.13;
  margin-bottom: 8px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--clr-earth-1);
  line-height: 1.15;
  margin-bottom: 8px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--clr-green);
  margin-bottom: 4px;
}
p, ul, ol, li {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-primary);
}
strong, b {
  font-weight: bold;
  color: var(--clr-earth-1);
}

/* BUTTONS */
.cta-primary, .cta-secondary, .cookie-banner button, .cookie-modal button {
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 0.9em 2em;
  font-size: 1.125rem;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s;
  box-shadow: var(--shadow-soft);
  margin: 10px 10px 0 0;
  display: inline-block;
  border: none;
}
.cta-primary {
  background: var(--clr-green);
  color: var(--clr-white);
  border: 2px solid var(--clr-green);
  box-shadow: var(--shadow-card);
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--clr-earth-1);
  color: var(--clr-secondary);
  border-color: var(--clr-secondary);
}
.cta-secondary {
  background: var(--clr-white);
  color: var(--clr-green);
  border: 2px solid var(--clr-green);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--clr-leaf);
  color: var(--clr-earth-1);
  border-color: var(--clr-earth-1);
}
a.cta-primary, a.cta-secondary {
  text-align: center;
}

/* HEADER & NAV */
header {
  width: 100%;
  background: var(--clr-white);
  box-shadow: 0 2px 10px rgba(68, 81, 59, 0.10);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 14px 0 14px 0;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 18px;
  border-radius: var(--radius-sm);
  color: var(--clr-primary);
  transition: background 0.13s, color 0.13s;
}
header nav a:not(.cta-primary):hover, header nav a:not(.cta-primary):focus {
  background: var(--clr-leaf);
  color: var(--clr-earth-1);
}
header nav img {
  height: 38px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: var(--clr-green);
  color: var(--clr-white);
  border-radius: var(--radius-lg);
  width: 56px;
  height: 56px;
  justify-content: center;
  align-items: center;
  transition: background 0.17s;
  z-index: 1100;
  position: relative;
  margin-left: auto;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--clr-earth-1);
  color: var(--clr-secondary);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(68, 81, 59, 0.97);
  z-index: 1200;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 36px 24px 24px 24px;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.62,-0.01,.32,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  color: var(--clr-leaf);
  border: none;
  align-self: flex-end;
  margin-bottom: 24px;
  padding: 7px 18px;
  border-radius: 50%;
  transition: background 0.12s, color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--clr-earth-2);
  color: var(--clr-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--clr-accent);
  padding: 12px 4px;
  border-radius: var(--radius-sm);
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--clr-leaf);
  color: var(--clr-earth-1);
}


/* HERO SECTION */
.hero {
  margin-bottom: 60px;
  padding: 44px 0 34px 0;
  background: var(--clr-leaf);
  border-radius: 0 0 60px 60px;
  box-shadow: 0 8px 32px rgba(91, 136, 86, 0.10);
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.hero h1 {
  color: var(--clr-earth-1);
}
.hero p {
  font-size: 1.25rem;
  color: var(--clr-primary);
}

/* CTA SECTIONS */
.cta {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--clr-brown);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.cta h2 {
  color: var(--clr-earth-1);
}

/* FLEXBOX LAYOUTS AS SPECIFIED */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  background: var(--clr-accent);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.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;
}
.text-image-section > * {
  flex: 1 1 360px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  border: 1.5px solid var(--clr-leaf);
  position: relative;
  flex-wrap: wrap;
}
.testimonial-card p {
  color: var(--clr-primary);
  font-size: 1.05rem;
  flex: 1;
}
.testimonial-card strong {
  display: block;
  font-size: 1.08rem;
  color: var(--clr-earth-1);
  margin-bottom: 2px;
}
.testimonial-card span {
  color: #F0B41D;
  font-size: 1.2rem;
  margin-left: 7px;
  letter-spacing: 1px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}


/* CUSTOM FLEX LAYOUTS FOR SPECIFIC SECTIONS */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--clr-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  margin-top: 24px;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 200px;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--clr-leaf);
  transition: box-shadow 0.15s, transform 0.15s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 26px rgba(91, 136, 86, 0.13);
  transform: translateY(-4px) scale(1.03);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}

.about-intro, .services-preview {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.about-intro ul,
.services-preview ul {
  margin-left: 18px;
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  list-style: disc inside;
}
.about-intro ul li:before, .services-preview ul li:before {
  display: none;
}

/* FAQ & ABOUT & POLICY PAGES BASIC STYLING */
main section:not(.hero):not(.features):not(.cta), .section {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* ICONS INLINE */
ul li img, p img {
  vertical-align: middle;
  margin-right: 8px;
  height: 1.6em;
  width: auto;
}

/* TESTIMONIALS */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--clr-leaf);
  border-radius: var(--radius-lg);
}
.testimonials h2 {
  color: var(--clr-earth-1);
  text-align: center;
  margin-bottom: 30px;
}
.testimonials .content-wrapper {
  gap: 24px;
}

/* CONTACT FOOTER */
footer {
  background: var(--clr-primary);
  color: var(--clr-white);
  padding: 36px 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-radius: 60px 60px 0 0;
  margin-top: 50px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
footer nav a {
  font-family: var(--font-body);
  color: var(--clr-secondary);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: background 0.13s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--clr-green);
  color: var(--clr-white);
}
.contact-footer {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  justify-content: center;
  margin-top: 8px;
  flex-wrap: wrap;
}
footer .contact-footer img {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background: var(--clr-accent);
  padding: 6px;
}
footer .contact-footer div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
footer .contact-footer p, footer .contact-footer a {
  color: var(--clr-white);
  font-size: 0.98rem;
}
footer .contact-footer img[alt*='icon'] {
  width: 1.25em;
  height: auto;
  margin-right: 7px;
  vertical-align: -0.23em;
}


/**********************
   COOKIE CONSENT BANNER
 **********************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--clr-white);
  color: var(--clr-primary);
  border-top: 2.5px solid var(--clr-leaf);
  padding: 24px 16px 18px 16px;
  z-index: 2000;
  box-shadow: 0 -2px 16px rgba(134, 146, 101, 0.12);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  font-size: 1rem;
  animation: fadeInUp 0.38s cubic-bezier(.6,-0.03,.32,1.03);
}
.cookie-banner .cookie-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 5px;
}
.cookie-banner button {
  margin: 0;
  box-shadow: var(--shadow-soft);
  font-size: 1rem;
  padding: 9px 22px;
}
.cookie-banner .settings-btn {
  background: var(--clr-accent);
  color: var(--clr-earth-2);
  border: 1.5px solid var(--clr-leaf);
}
.cookie-banner .settings-btn:hover {
  background: var(--clr-leaf);
  color: var(--clr-earth-1);
}
.cookie-banner .accept-btn {
  background: var(--clr-green);
  color: var(--clr-white);
}
.cookie-banner .accept-btn:hover {
  background: var(--clr-earth-1);
  color: var(--clr-secondary);
}
.cookie-banner .reject-btn {
  background: var(--clr-white);
  color: var(--clr-earth-1);
  border: 1.5px solid var(--clr-earth-2);
}
.cookie-banner .reject-btn:hover {
  background: var(--clr-brown);
  color: var(--clr-white);
}
@keyframes fadeInUp {
  from { opacity:0; transform: translateY(28px); }
  to   { opacity:1; transform: translateY(0); }
}

/**********************
   COOKIE MODAL (PREFERENCES)
 **********************/
.cookie-modal-backdrop {
  display: none;
  position:fixed;
  z-index: 2500;
  left:0;top:0;width:100%;height:100%;
  background: rgba(68, 81, 59, 0.58);
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.open {
  display: block;
}
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: var(--clr-white);
  color: var(--clr-primary);
  min-width: 310px;
  max-width: 95vw;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 60px rgba(68, 81, 59, 0.17);
  padding: 38px 24px 28px 24px;
  z-index: 2600;
  flex-direction: column;
  gap: 22px;
  animation: fadeInModal 0.35s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeInModal {
  from {opacity: 0;transform: translate(-50%, -40%) scale(0.98);}
  to {opacity:1; transform: translate(-50%, -50%) scale(1);}
}
.cookie-modal h3 {
  color: var(--clr-earth-1);
  font-size: 1.42rem;
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 19px;
}
.cookie-modal label {
  flex: 1;
  color: var(--clr-primary);
  font-size: 1rem;
}
.cookie-toggle {
  width: 40px; height: 22px;
  background: var(--clr-leaf);
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  transition: background 0.16s;
  display: inline-flex;
  align-items: center;
  margin-right: 12px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-toggle span {
  position: absolute;
  left: 2.5px; top: 2.5px;
  height: 17px; width: 17px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.16s, background 0.13s;
  box-shadow: 0 1px 4px rgba(91,136,86,0.06);
}
.cookie-toggle input:checked + span {
  background: var(--clr-green);
  left: 20px;
}
.cookie-modal .save-btn {
  background: var(--clr-green);
  color: var(--clr-white);
  margin-top: 16px;
}
.cookie-modal .close-btn {
  background: var(--clr-white);
  color: var(--clr-earth-2);
  border: 1.5px solid var(--clr-leaf);
  margin-left: 8px;
}
.cookie-modal .close-btn:hover {
  background: var(--clr-brown);
  color: var(--clr-white);
}

/* UTILITY CLASSES */
.text-center { text-align: center !important; }
.flex { display: flex !important; }
.align-center { align-items: center !important; }
.justify-between { justify-content: space-between !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }

/* SPACING: Default for all sections */
main section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* INPUTS (For future forms) */
input[type="text"], input[type="email"], textarea {
  border: 1.5px solid var(--clr-leaf);
  border-radius: var(--radius-md);
  padding: 14px 13px;
  font-size: 1.05rem;
  font-family: var(--font-body);
  background: var(--clr-accent);
  color: var(--clr-earth-1);
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
  width: 100%;
  transition: border 0.16s, background 0.13s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1.5px solid var(--clr-green);
  background: var(--clr-white);
  outline: none;
}

/* ORGANIC SHAPES (decoration) */
.hero, .cta, .features, main section {
  position: relative;
  overflow: hidden;
}
.hero::before, .cta::before, .features::before,
.hero::after, .cta::after, .features::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 38% 62% 57% 43% / 61% 39% 61% 39%;
  opacity: 0.13;
  z-index: 0;
}
.hero::before {
  width: 220px; height: 110px; left: -43px; top: 12px;
  background: var(--clr-green);
}
.hero::after {
  width: 180px; height: 72px; right: -50px; bottom: -9px;
  background: var(--clr-earth-1);
}
.cta::before {
  width: 120px; height: 58px; left: -30px; top: 25px;
  background: var(--clr-brown);
}
.cta::after {
  width: 100px; height: 80px; right: -36px; bottom: 12px;
  background: var(--clr-leaf);
}
.features::before {
  width: 140px; height: 70px; left: -40px; bottom: -10px;
  background: var(--clr-leaf);
}
.features::after {
  width: 90px; height: 40px; right: -28px; top: 38px;
  background: var(--clr-brown);
}

/* MICRO-INTERACTIONS */
a, button, .cta-primary, .cta-secondary {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s, transform 0.13s;
}
a:active, button:active {
  transform: scale(0.98);
}
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.15s, transform 0.14s;
}

.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 6px 30px rgba(91, 136, 86, 0.18);
  transform: translateY(-3px) scale(1.01);
}

/**********************
   RESPONSIVE DESIGN
 **********************/
@media (max-width: 990px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 850px) {
  header nav {
    flex-wrap: wrap;
    gap: 9px;
    padding-bottom: 6px;
  }
  .contact-footer {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.35rem; }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero, .features, .about-intro, .services-preview, .testimonials, .cta, main section, .section {
    padding: 27px 6px;
    margin-bottom: 38px;
    border-radius: var(--radius-md);
  }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    align-items: center;
    text-align: center;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    justify-content: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 8px;
  }
  footer {
    padding: 26px 0 8px 0;
    border-radius: 35px 35px 0 0;
  }
}
@media (max-width: 600px) {
  header {
    border-radius: 0 0 24px 24px;
  }
  .cta, main section, .section, .about-intro, .services-preview, .testimonials, .features {
    box-shadow: none;
    margin-bottom: 24px;
  }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  .container { padding: 0 7px; }
  .cookie-modal { padding: 20px 6px; }
  .cookie-banner { font-size: 0.98rem; padding: 15px 7px 12px 7px; }
}

/***************
 ENSURE NO CONTENT OVERLAP; ALL CARDS/SECTIONS: MIN 20PX GAP
***************/
.section, main section, .features, .cta, .about-intro, .services-preview, .testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.card, .feature-grid > div, .testimonial-card {
  margin-bottom: 20px;
  gap: 14px;
}

/***************
   END OF CSS
***************/
