/* --- CSS RESET & BASES --- */
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, 
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F4F2EE;
  color: #254D32;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #254D32;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #172D1E;
  text-decoration: underline;
}
ul, ol {
  list-style-position: inside;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border-radius: 4px;
  border: none;
  background: none;
}
button:focus, .cta:focus {
  outline: 2px dashed #254D32;
  outline-offset: 2px;
}
table {
  border-collapse: collapse;
  width: 100%;
}

/* --- BRAND TYPOGRAPHY & COLORS --- */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Nunito', 'Roboto', Arial, sans-serif;
  margin-bottom: 16px;
  color: #254D32;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
p, li, address, small {
  font-size: 1rem;
  line-height: 1.7;
  color: #254D32;
}
.subheadline {
  font-size: 1.22rem;
  color: #254D32;
  font-weight: 400;
  margin-bottom: 24px;
}
strong {
  font-weight: 700;
}
small {
  font-size: 0.9rem;
  color: #577379;
}

/* --- LAYOUT CONTAINERS & SPACING --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* --- FLEX LAYOUT PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  box-shadow: 0 2px 12px rgba(37,77,50,0.08);
  border-radius: 14px;
  padding: 24px 20px;
  transition: box-shadow 0.22s, transform 0.19s;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 250px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(37,77,50,0.16);
  transform: translateY(-2px) scale(1.02);
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(37,77,50,0.07);
  border-radius: 12px;
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 290px;
  color: #254D32;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(37,77,50,0.08);
  padding: 20px 18px;
  min-width: 220px;
  flex: 1 1 200px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.feature-item:hover {
  box-shadow: 0 4px 18px rgba(37,77,50,0.14);
  transform: translateY(-3px) scale(1.01);
}

/* --- INDEX: HERO --- */
.hero, section:first-of-type {
  background: #fff;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 2px 18px rgba(37,77,50,0.04);
  margin-bottom: 56px;
}

/* --- FEATURE GRID ON INDEX --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 16px;
}

/* --- TEAM & STAFF BIOS --- */
.team-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.staff-bio {
  background: #fff;
  padding: 18px 18px;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(37,77,50,0.07);
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 5px;
}

/* --- LISTS --- */
ul {
  margin-left: 20px;
  margin-bottom: 12px;
  padding-left: 0;
}
ol {
  margin-left: 22px;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 6px;
  padding-left: 3px;
}
.faq-list > li, .service-list > li {
  margin-bottom: 20px;
  background: #fff;
  padding: 18px 16px 14px 16px;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(37,77,50,0.05);
}

/* --- PRICING TABLE --- */
.pricing-table {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 12px rgba(37,77,50,0.12);
  margin-bottom: 30px;
  overflow-x: auto;
}
.pricing-table th, .pricing-table td {
  padding: 16px 18px;
  color: #254D32;
  text-align: left;
  font-size: 1.04rem;
}
.pricing-table th {
  background: #254D32;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pricing-table tr:nth-child(even) td {
  background: #F4F2EE;
}
.disclaimer {
  color: #577379;
  font-size: 0.95rem;
  margin-top: 8px;
}

/* --- CTA BANNERS --- */
.cta-banner {
  background: #254D32;
  color: #fff !important;
  border-radius: 18px;
  box-shadow: 0 6px 28px rgba(37,77,50,0.14);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 28px;
}
.cta-banner h2, .cta-banner p, .cta-banner a {
  color: #fff;
}

/* --- CTA BUTTONS --- */
.cta {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 25px;
  background: #B8C1A7;
  color: #254D32;
  font-family: 'Nunito', 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 1px 6px rgba(37,77,50,0.11);
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.2s, transform 0.18s;
  text-align: center;
  margin-top: 8px;
}
.cta.primary {
  background: #254D32;
  color: #fff;
}
.cta:hover, .cta:focus {
  background: #577379;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,77,50,0.14);
  text-decoration: none;
  transform: translateY(-1px) scale(1.025);
}

/* --- MAIN NAVBAR --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(37,77,50,0.06);
  position: sticky;
  top: 0;
  z-index: 1004;
  padding-top: 2px;
  padding-bottom: 2px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  height: 68px;
  justify-content: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  background: inherit;
}
.main-nav a {
  color: #254D32;
  font-family: 'Nunito', 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 500;
  margin-right: 4px;
  padding: 7px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.16s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #B8C1A7;
  color: #254D32;
}
.main-nav a.cta.primary {
  background: #254D32;
  color: #fff;
  padding: 10px 24px;
  margin-left: 20px;
}
.main-nav a.cta.primary:hover,
.main-nav a.cta.primary:focus {
  background: #406C43;
  color: #fff;
}
.main-nav img {
  height: 44px;
  margin-right: 14px;
}

/* --- MOBILE NAV (BURGER) --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #254D32;
  cursor: pointer;
  position: absolute;
  right: 24px;
  top: 15px;
  z-index: 2000;
  padding: 6px;
  line-height: 1;
  transition: color 0.14s;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #254D32;
  cursor: pointer;
  position: absolute;
  top: 22px;
  right: 16px;
  z-index: 3003;
  padding: 6px 10px;
  transition: color 0.13s;
}
.mobile-menu-close:hover {
  color: #B8C1A7;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  box-shadow: 0 12px 80px rgba(37,77,50,0.28);
  z-index: 3001;
  transform: translateX(100vw);
  transition: transform 0.33s cubic-bezier(0.77,0,0.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 65px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
  animation: menufadein 220ms ease-in;
}
@keyframes menufadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding: 44px 36px 16px 28px;
}
.mobile-nav a {
  color: #254D32;
  font-size: 1.18rem;
  font-family: 'Nunito', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 13px 10px;
  border-radius: 8px;
  width: 100%;
  transition: background 0.18s, color 0.18s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B8C1A7;
  color: #254D32;
}

/* --- TESTIMONIALS --- */
.testimonial-list, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.testimonial-card {
  background: #fff;
  color: #254D32;
  padding: 24px 16px 18px 22px;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(37,77,50,0.13);
  font-size: 1.06rem;
  position: relative;
  min-width: 240px;
  max-width: 380px;
  flex: 1 1 290px;
  transition: box-shadow 0.21s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 27px rgba(37,77,50,0.17);
  transform: translateY(-4px) scale(1.012);
}
.testimonial-card p {
  color: #254D32;
  font-size: 1.07rem;
  margin-bottom: 10px;
  font-style: italic;
}
.testimonial-card span,
.testimonial-card strong {
  color: #254D32;
  font-weight: 600;
  font-size: 0.97rem;
}

/* --- BLOG SECTION --- */
.blog-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.blog-section article {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 7px rgba(37,77,50,0.09);
  flex: 1 1 300px;
  min-width: 240px;
  padding: 18px 16px;
}

/* --- FOOTER --- */
footer {
  background: #254D32;
  padding: 36px 0 10px 0;
  color: #fff;
  width: 100%;
  margin-top: 64px;
}
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: stretch;
}
.footer-logo-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 36px;
  margin-bottom: 6px;
}
.footer-logo-nav img {
  height: 46px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px 16px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  transition: color 0.18s, text-decoration 0.2s;
  padding: 4px 0;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #B8C1A7;
  text-decoration: underline;
}
.footer-info {
  margin-top: 0;
  font-size: 1rem;
  color: #B8C1A7;
  line-height: 1.65;
}
.footer-smallprint {
  margin-top: 24px;
  color: #B8C1A7;
  text-align: center;
}
.footer-smallprint small {
  color: #B8C1A7;
}

/* --- MAP PLACEHOLDER --- */
.map-placeholder {
  background: #B8C1A7;
  border-radius: 14px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  margin-bottom: 14px;
  color: #254D32;
  font-style: italic;
  font-size: 1.1rem;
}

/* --- RESPONSIVE DESIGN (MOBILE-FIRST) --- */
@media (max-width: 1024px) {
  .container {
    max-width: 980px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .footer-logo-nav {
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .content-grid, .feature-grid, .team-section, .testimonial-list, .blog-section {
    gap: 14px;
  }
  .main-nav {
    gap: 9px;
    padding: 0 8px;
  }
  .footer-content {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.34rem; }
  .section { padding: 28px 8px; margin-bottom: 42px; }
  .container { padding-left: 4px; padding-right: 4px; }
  .card-container, .feature-grid, .content-grid, .testimonial-list, .team-section, .blog-section {
    flex-direction: column;
    gap: 16px;
  }
  .footer-logo-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
  }
  .cta-banner { padding: 20px 8px; gap: 10px; }
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper, .text-image-section {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card, .feature-item, .card {
    max-width: 100%;
    min-width: unset;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  .cta-banner { padding: 12px 2px; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #254D32;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 22px 16px 18px 16px;
  z-index: 4010;
  box-shadow: 0 -2px 22px rgba(37,77,50,0.17);
  font-size: 1.05rem;
  animation: cookie-fade-in 310ms cubic-bezier(.41,1.23,.32,1.02);
}
@keyframes cookie-fade-in {
  from { opacity: 0; bottom: -60px; }
  to { opacity: 1; bottom: 0; }
}
.cookie-banner p {
  flex: 1 1 230px;
  margin: 0;
  color: #fff;
  font-size: 1rem;
}
.cookie-controls {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-btn {
  border-radius: 18px;
  background: #B8C1A7;
  color: #254D32;
  font-weight: 600;
  padding: 8px 20px;
  border: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.12s;
  cursor: pointer;
  font-family: 'Nunito', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-left: 4px;
}
.cookie-btn.primary {
  background: #254D32;
  color: #fff;
  border: 2px solid #B8C1A7;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #406C43;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #254D32;
  border: 1px solid #B8C1A7;
}
.cookie-btn.settings:hover {
  background: #B8C1A7;
  color: #254D32;
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 4021;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,77,50,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein 0.23s cubic-bezier(.44,1.37,.07,1.01);
}
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #254D32;
  padding: 28px 24px 22px 24px;
  border-radius: 20px;
  min-width: 300px;
  max-width: 420px;
  box-shadow: 0 8px 36px rgba(37,77,50,0.22);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 4022;
  animation: modalfadein 0.25s cubic-bezier(.51,1.55,.32,1.03);
}
@keyframes modalfadein {
  from { transform: translateY(40px) scale(0.98); opacity:0; }
  to { transform: translateY(0) scale(1); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #254D32;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #F4F2EE;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 5px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  width: 21px;
  height: 21px;
  accent-color: #254D32;
  border-radius: 4px;
}
.cookie-category input[disabled] {
  opacity: 0.6;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 16px;
}
.cookie-modal .cookie-btn {
  margin: 0;
}

/* --- ANIMATIONS --- */
.cta, .cta.primary, .card, .feature-item, .testimonial-card {
  transition: box-shadow 0.15s, background 0.17s, color 0.16s, transform 0.18s;
}

/* --- ACCESSIBILITY FOCUS --- */
a:focus, .cta:focus, .cookie-btn:focus, button:focus {
  outline: 2px solid #406C43;
  outline-offset: 2px;
  z-index: 95;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 11px;
  background: #B8C1A7;
}
::-webkit-scrollbar-thumb {
  background: #254D32;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #406C43;
}

/* --- ODD CLASS & ELEMENT STYLES FOR CONSISTENCY --- */
.text-section {
  background: #fff;
  padding: 28px 24px;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(37,77,50,0.08);
  margin-bottom: 22px;
}
.steps-section ol {
  padding-left: 16px;
}
.steps-section ol li {
  margin-bottom: 8px;
}
.faq-section {
  margin-top: 4px;
}

/* --- OVERRIDES FOR SPECIFIC PAGES --- */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-list img {
  width: 34px;
  height: auto;
  margin-right: 10px;
  vertical-align: middle;
}
.service-list strong {
  font-weight: 700;
  color: #254D32;
}
.blog-section article h2 {
  font-size: 1.24rem;
  margin-bottom: 9px;
}

/* --- NO GRID, ONLY FLEXBOX EVERYWHERE --- */
/* No display:grid, no column-count, no break-inside etc. Verified. */
