/* ========================================================
   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, main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-family: 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: #F7F6F3;
  color: #1A2618;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #1D8348;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #14305B;
  text-decoration: underline;
}

ul, ol {
  padding-left: 20px;
}
strong, b {
  font-weight: 700;
}

button {
  font-family: inherit;
  font-size: 1em;
  border: none;
  background: none;
  color: inherit;
  padding: 0;
  cursor: pointer;
  outline: none;
}

/* ========================================================
   Brand Colors & Nature_Organic Palette
======================================================== */
:root {
  /* Brand/identity colors */
  --color-primary: #14305B;    /* dark blue */
  --color-secondary: #1D8348;  /* deep green */
  --color-accent: #F1F1F1;     /* light gray accent */

  /* Nature-inspired neutrals and accents */
  --color-background: #F7F6F3;
  --color-earth: #A67C52;      /* organic brown */
  --color-sand: #EAE6DA;       /* soft sand */
  --color-leaf: #51805E;       /* muted leaf green */
  --color-stone: #D9D7CC;      /* pale natural gray */
  --color-shadow: rgba(41, 67, 52, 0.08);
  --color-border: #D9D7CC;
  --color-success: #75BF72;
  --color-error: #C6432E;
  /* Accessibility contrast colors */
  --color-card-bg: #fff;
  --color-card-contrast: #394B33;
}

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

/* Typography -------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #14305B;
  line-height: 1.2;
  margin-bottom: 18px;
}
h1 { font-size: 2.2rem; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-bottom: 18px; }
h3 { font-size: 1.18rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 6px; }
p, ul, ol, dl { margin-bottom: 18px; }
p:last-child, ul:last-child, ol:last-child, dl:last-child { margin-bottom: 0; }
.content-wrapper {
  width: 100%;
}
.text-section {
  margin-bottom: 32px;
}

/* Responsive Typography -------------------------------------------------- */
@media (min-width: 600px) {
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.38rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.35rem; }
}


/* Spacing utilities -------------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 24px 56px 36px 22px/40px 30px 52px 20px;
}
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Flexbox pattern utility classes -------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(41, 67, 52, 0.16);
  transform: translateY(-3px) scale(1.018);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 30px 24px;
}
.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;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--color-accent);
  border-radius: 20px 60px 38px 22px/30px 35px 50px 32px;
  box-shadow: 0 1px 4px var(--color-shadow);
  border: 1.5px solid var(--color-stone);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 420px;
  color: #232F1A;
}
.testimonial-card .stars {
  color: var(--color-secondary);
  font-size: 1.2em;
  letter-spacing: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-card-bg);
  border-radius: 18px 40px 28px 18px/25px 28px 32px 14px;
  box-shadow: 0 1.5px 8px var(--color-shadow);
  border: 1.5px solid var(--color-stone);
  padding: 26px 22px 20px 22px;
  min-width: 230px;
  max-width: 350px;
}
/* .testimonial-list can wrap vertically testimonial-cards on mobile */
.testimonials-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.contact-cta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 0;
  align-items: flex-start;
}

.map-placeholder {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  font-size: 1em;
  color: #60714b;
}

/* Section background accents (soft, organic shapes) ------------------- */
.hero {
  background:
    linear-gradient(to right bottom, #EAE6DA 84%, #dbead1 100%);
  border-radius: 0 0 48px 48px/0 0 88px 88px;
  margin-bottom: 50px;
  padding-top: 48px;
  padding-bottom: 48px;
}
@media (max-width: 768px) {
  .hero {
    padding-top: 28px;
    padding-bottom: 34px;
    margin-bottom: 32px;
  }
}

.ratings-overview {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #eaf6ed;
  padding: 16px 22px;
  border-radius: 14px 28px 20px 12px/26px 22px 21px 14px;
  margin-bottom: 32px;
  color: #25431e;
}

/********************
HEADER & NAVIGATION
********************/
header {
  background: var(--color-card-bg);
  box-shadow: 0 2px 8px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 110;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header img {
  max-height: 45px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-size: 1.08em;
}
header nav a {
  color: #14305B;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 14px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-leaf);
  color: #fff;
}
.cta-primary, .cta-secondary {
  border-radius: 30px 18px 28px 24px/22px 25px 18px 25px;
  padding: 13px 36px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1em;
  font-weight: 700;
  display: inline-block;
  outline: none;
  box-shadow: 0 2px 10px var(--color-shadow);
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.17s, transform 0.17s;
  margin-bottom: 16px;
  margin-right: 8px;
  text-align: center;
  cursor: pointer;
}
.cta-primary {
  background: var(--color-secondary);
  color: #fff;
  border: 2.5px solid var(--color-secondary);
}
.cta-primary:hover, .cta-primary:focus {
  background: #135b35;
  color: #fff;
  transform: translateY(-2px) scale(1.025);
}
.cta-secondary {
  background: #eaf6ed;
  color: var(--color-secondary);
  border: 2.5px solid var(--color-secondary);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-secondary);
  color: #fff;
}

/********************
MOBILE NAVIGATION
********************/
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: #fff;
  font-size: 2.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-left: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  z-index: 2001;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #135b35;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,48,30,0.94);
  color: #fff;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(.57,1.75,.52,.91);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 25px; right: 32px;
  background: var(--color-secondary);
  color: #fff;
  font-size: 2.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #135b35;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 120px;
  width: 100%;
  align-items: center;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.30rem;
  padding: 10px 28px;
  border-radius: 18px;
  margin: 0 8px;
  background: none;
  transition: background 0.15s, color 0.15s;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #1D8348;
  color: #fff;
}

@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 1024px) {
  header nav,
  header .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/********************
FOOTER
********************/
footer {
  background: #e4efe1;
  color: #2A3627;
  padding: 28px 0 16px 0;
  font-size: 1.02em;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
footer nav {
  display: flex;
  gap: 18px;
  margin-bottom: 6px;
}
footer nav a {
  color: #14305B;
  font-weight: 500;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-secondary);
}
footer p {
  font-size: 0.97em;
  color: #556442;
}

/********************
FORMS & FIELDS
********************/
input, textarea, select {
  font-family: inherit;
  font-size: 1em;
  background: #fff;
  border: 1.5px solid var(--color-stone);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
  box-shadow: 0 1.5px 5px var(--color-shadow);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-leaf);
}
label {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
  color: #2D432A;
}

/********************
TABLES
********************/
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 22px;
  border-radius: 18px;
  box-shadow: 0 1.5px 8px var(--color-shadow);
}
th, td {
  padding: 15px 18px;
  border-bottom: 1.5px solid var(--color-stone);
}
th {
  background: #eaf6ed;
  font-weight: 700;
  color: #25431e;
}

/********************
LISTS & DL
********************/
ul li, ol li {
  margin-bottom: 7px;
  line-height: 1.6;
}
dl {
  margin-bottom: 20px;
}
dt {
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 9px;
}
dd {
  margin-left: 16px;
  margin-bottom: 10px;
  color: #334123;
}

/********************
RESPONSIVE FLEX & PADDING
********************/
@media (max-width: 1024px) {
  .container {
    max-width: 99vw;
  }
  .features-grid, .card-container, .testimonials-preview {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .content-grid, .testimonial-list {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .features-grid, .testimonials-preview, .testimonial-list {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .section {
    margin-bottom: 40px;
    padding: 24px 8px;
    border-radius: 18px 36px 24px 12px/20px 18px 26px 8px;
  }
  .card-content {
    padding: 20px 10px;
  }
  .feature-item, .testimonial-card, .map-placeholder {
    min-width: 0;
    max-width: 100%;
    padding-left: 13px;
    padding-right: 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .contact-cta {
    gap: 13px;
    align-items: stretch;
  }
}

/* ============
  Card Effects
============= */
.card, .feature-item, .testimonial-card {
  transition: box-shadow 0.15s, transform 0.14s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 5px 26px 0 rgba(31,51,21,0.16);
  transform: translateY(-4px) scale(1.018);
}

/* ===================
  Micro-interactions
=================== */
.cta-primary, .cta-secondary, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
}
.cta-primary:active, .cta-secondary:active, .mobile-menu-toggle:active, .cookie-btn:active {
  transform: scale(0.97);
  box-shadow: 0 1px 2px rgba(60,80,40,0.12);
}

/****************************
 Cookie Consent Banner
****************************/
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #EAE6DA;
  color: #25431e;
  padding: 18px 20px 18px 20px;
  box-shadow: 0 -4px 22px rgba(71, 97, 61, 0.18);
  z-index: 3000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(.57,1.45,.49,.93), opacity 0.4s;
  opacity: 1;
  transform: translateY(0);
}
#cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
#cookie-banner p {
  flex: 2 1 260px;
  margin: 0;
  color: #25431e;
  font-size: 1.08em;
}
.cookie-btn {
  border-radius: 22px 14px 18px 10px/14px 19px 16px 18px;
  border: none;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 22px;
  margin-right: 7px;
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 1.5px 6px var(--color-shadow);
  font-size: 1em;
  cursor: pointer;
}
.cookie-btn.cookie-settings {
  background: #F1F1F1;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
  margin-right: 7px;
}
.cookie-btn.cookie-reject {
  background: #a67c52;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #135b35;
  color: #fff;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.cookie-reject:hover, .cookie-btn.cookie-reject:focus {
  background: #704d26;
}

/**************************
 Cookie Modal
**************************/
#cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(52,67,41,0.28);
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.28s;
}
#cookie-modal.open {
  display: flex;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  color: #14305B;
  padding: 36px 28px 28px 28px;
  border-radius: 30px 42px 22px 18px/30px 28px 32px 14px;
  width: 97vw;
  max-width: 400px;
  box-shadow: 0 8px 40px rgba(37,67,30,0.19);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.27rem;
  margin-bottom: 12px;
  color: var(--color-secondary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-switch {
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: #EAE6DA;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
  margin-right: 5px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px;
  height: 18px;
  background: var(--color-secondary);
  border-radius: 50%;
  transition: left 0.18s, background 0.15s;
}
.cookie-switch input:checked ~ .cookie-slider {
  left: 18px;
  background: var(--color-leaf);
}
.cookie-category label {
  font-weight: 500;
  color: #25431e;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  width: 100%;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  font-size: 1.38rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.17s;
  z-index: 1;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #135b35;
}

/********************
 ORGANIC SHAPES
********************/
.hero, .section, .testimonial-card, .feature-item, .card, .cookie-modal-content {
  box-shadow: 0 1.5px 8px var(--color-shadow);
  border-radius: 24px 56px 36px 22px/40px 30px 52px 20px;
}
@media (max-width: 600px) {
  .hero, .section, .testimonial-card, .feature-item, .card, .cookie-modal-content {
    border-radius: 18px 34px 20px 10px/22px 14px 24px 12px;
  }
}

/********************
  VISUAL HIERARCHY & ORGANIC SPACING
********************/
main section {
  margin-bottom: 56px;
}
main .section:last-child {
  margin-bottom: 0;
}
.card:not(:last-child), .feature-item:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}

/********************
 TEXT & CONTRAST in Testimonials
********************/
.testimonials-preview .testimonial-card,
.testimonial-list .testimonial-card {
  background: #fffbe3;
  color: #25431e;
  border: 2px solid #e0e1d3;
}

/*********************
  MODAL & OVERLAY
**********************/
[aria-modal='true'], .modal-backdrop {
  position: fixed;
  z-index: 9990;
  left: 0;top: 0;width: 100vw;height: 100vh;
  background: rgba(41,67,52,0.16);
}

/********************
  GENERAL MEDIA QUERIES
********************/
@media (max-width: 500px) {
  html, body { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.22rem; }
}

/********************
  MISC
********************/
::-webkit-input-placeholder { color: #77916F; }
::-moz-placeholder { color: #77916F; }
:-ms-input-placeholder { color: #77916F; }
::placeholder { color: #77916F; }

/* Native focus indicator with visible focus layout for accessibility */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
}


/* ===============
  Utility Organic Dots/Textures (future optional)
================ */
/* .organic-dot, .organic-shape - for decorative SVG background shapes (positioned absolute, z-index -1) */

