/* --- CSS RESET & BASE --- */
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, li { list-style: none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; border: 0; }
:focus { outline: 2px solid #387C6D; outline-offset: 2px; }

html {
  font-family: 'Lato', Arial, Helvetica, sans-serif; font-size: 16px; background: #F3EFE6;
}
body {
  background: #F3EFE6; color: #24403C; min-height: 100vh; font-family: 'Lato', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* --- BRAND FONTS --- */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Lato', Arial, Helvetica, sans-serif; font-weight: 700;
  color: #24403C;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; line-height: 1.2; }
h2 { font-size: 2rem; margin-bottom: 12px; line-height: 1.25; }
h3 { font-size: 1.25rem; margin-bottom: 8px; line-height: 1.3; }

p, li, blockquote {
  font-family: 'Lato', Arial, Helvetica, sans-serif; font-size: 1rem; color: #24403C; line-height: 1.7;
}
blockquote { font-style: italic; color: #387C6D; margin-bottom: 8px; }

/* Typography scale for hierarchy */
@media (max-width: 500px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.05rem; }
}

/* --- CONTAINER --- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* --- HEADER --- */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(56,124,109,0.05);
  position: sticky;
  top: 0; left: 0; right: 0; z-index: 99;
}
header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 75px; gap: 24px; padding: 0 20px;
}
.desktop-nav {
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
}
.desktop-nav a {
  color: #24403C;
  padding: 8px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  opacity: 0.92;
  transition: color 0.18s, opacity 0.18s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  color: #387C6D; opacity: 1;
}

.cta-btn {
  background: #387C6D;
  color: #FFFFFF;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 32px;
  padding: 12px 28px;
  margin-left: 12px;
  box-shadow: 0 4px 16px rgba(56,124,109,0.10), 0 1.5px 8px rgba(36,64,60,0.07);
  border: none;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s, transform 0.13s, box-shadow 0.14s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #24403C;
  color: #F3EFE6;
  transform: scale(1.035);
  box-shadow: 0 2px 10px rgba(56,124,109,0.20), 0 1.5px 8px rgba(36,64,60,0.13);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: #387C6D;
  cursor: pointer;
  border-radius: 4px;
  padding: 6px 16px;
  margin-left: 10px;
  transition: background 0.13s;
  z-index: 101;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #EAF5ED;
}

/* --- MOBILE NAV --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(36,64,60,0.88);
  backdrop-filter: blur(2px);
  transition: transform 0.37s cubic-bezier(0.58,0,0.08,1);
  transform: translateX(-110%);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  align-self: flex-end;
  margin: 22px 24px 4px 0;
  cursor: pointer;
  z-index: 1004;
}
.mobile-nav {
  display: flex; flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 14px;
  padding: 40px 34px 0 32px;
}
.mobile-nav a {
  color: #F3EFE6;
  font-size: 1.17rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 13px 0;
  border-radius: 12px;
  transition: background 0.18s, color 0.13s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #387C6D; color: #fff;
}

/* --- Hide desktop nav and cta-btn on mobile --- */
@media (max-width: 900px) {
  .desktop-nav, header .cta-btn { display: none !important; }
  .mobile-menu-toggle { display: inline-block; }
}

@media (min-width: 901px) {
  .mobile-menu { display: none; }
}

/* --- HERO --- */
.hero {
  background: #EAF5ED;
  border-radius: 0 0 38px 38px;
  box-shadow: 0 8px 48px -18px rgba(56,124,109,0.07);
  margin-bottom: 60px;
  position: relative;
  padding: 60px 0 30px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  max-width: 650px;
}

/* --- SECTIONS --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* FEATURES FLEX LAYOUT */
.feature-grid {
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 2px 14px rgba(56,124,109,0.08);
  padding: 28px 22px 22px 22px;
  flex: 1 1 220px;
  min-width: 230px;
  max-width: 305px;
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.17s;
  border: 1px solid #E4E9DE;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 6px 48px -12px rgba(56,124,109,0.16);
  transform: translateY(-3px) scale(1.015);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #EAF5ED;
  margin-bottom: 7px;
}
.price {
  color: #387C6D;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 12px;
}

/* --- CARDS & TESTIMONIALS --- */
.card-container {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(36,64,60,0.09);
  padding: 28px 22px;
  display: flex; flex-direction: column; gap: 20px;
  border: 1px solid #E4E9DE;
}

.testimonial-card {
  display: flex; align-items: center; gap: 20px; padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(56,124,109,0.07);
  margin-bottom: 20px;
  border-left: 5px solid #387C6D;
  position: relative;
  max-width: 680px;
}
.testimonial-card blockquote {
  color: #24403C;
  font-size: 1.06rem;
  margin: 0 0 7px 0;
  flex: 1;
}
.testimonial-card strong {
  color: #387C6D;
  font-weight: 700;
}
.testimonial-card div { color: #24403C; font-size: 1rem; }

/* --- FLEX PATTERNS --- */
.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;
}
.feature-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
}

/* --- TEAMS and PARTNERS --- */
.team-bio-grid {
  display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 16px;
  justify-content: space-between;
}
.team-bio-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1.5px 12px rgba(36,64,60,0.08);
  padding: 22px 18px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 305px;
}
.partner-logos {
  display: flex; gap: 28px; align-items: center;
}
.partner-logos img { width: 56px; height: auto; }

/* --- CONTACT SECTION --- */
.contact-info-block, .address-block, .directions {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 10px rgba(36,64,60,0.07);
  padding: 20px 17px;
  margin-bottom: 20px;
  border: 1px solid #E4E9DE;
}
.contact-info-block p {
  margin-bottom: 8px;
}
.address-block {
  background: #F3EFE6;
  border: 1.5px dashed #387C6D;
}
.directions ul {
  margin-top: 7px;
  color: #387C6D;
}
.directions li {
  margin-bottom: 4px;
}

/* --- FOOTER --- */
footer {
  background: #EAF5ED;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 14px rgba(56,124,109,0.08);
  padding: 30px 0 10px 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  gap: 24px; flex-wrap: wrap;
  padding-top: 8px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #387C6D;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #24403C;
}
.contact-footer {
  font-size: .99rem;
  color: #24403C;
  opacity: 0.85;
  margin-top: 3px;
}
footer img {
  height: 38px; width: auto; margin-bottom: 4px;
}

/* --- CONTENT CARDS --- */
.card {
  margin-bottom: 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(36,64,60,0.09);
  border: 1px solid #E4E9DE;
}

/* --- BUTTONS & LINKS --- */
button, input[type=submit], .cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.17s, color 0.15s, box-shadow 0.11s, transform 0.12s;
}

button:active, .cta-btn:active { transform: scale(0.97); }

/* --- LISTS --- */
ul, ol {
  margin: 0 0 12px 18px;
  color: #24403C;
}
ul li, ol li {
  margin-bottom: 8px;
  list-style-type: disc;
}
ul li:last-child, ol li:last-child { margin-bottom: 0; }

/* --- BADGES & ICONS --- */
.feature-icons, .trust-badges {
  display: flex; gap: 22px; align-items: center; margin-top: 12px;
}
.feature-icons img, .trust-badges img { width: 40px; height: auto; }

/* --- HR, BLOCKQUOTES, ETC --- */
hr {
  border: 0;
  height: 1px;
  background: #DDD;
  margin: 26px 0;
  opacity: 0.6;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .feature-grid, .team-bio-grid, .content-grid { flex-direction: column; align-items: stretch; gap: 20px; }
  .partner-logos, .trust-badges, .feature-icons { flex-direction: row; gap: 18px; justify-content: flex-start; }
}
@media (max-width: 768px) {
  section, .section { padding: 30px 5vw; }
  .hero { padding: 36px 0 20px 0; border-radius: 0 0 22px 22px; }
  .testimonial-card, .card { padding: 17px 12px; }
  .footer-nav { flex-direction: column; gap: 10px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 540px) {
  .partner-logos, .trust-badges, .feature-icons { flex-direction: column; gap: 8px; }
  .container { padding: 0 9px; }
  .feature-grid > div, .team-bio-grid > div { max-width: 100%; }
}
/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; width: 100vw;
  background: #387C6D;
  color: #fff;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow: 0 -4px 40px rgba(36,64,60,0.13);
  z-index: 2000;
  padding: 17px 5vw 17px 5vw;
  animation: cookie-slide-up 0.6s cubic-bezier(.4,2,.6,1);
}
@keyframes cookie-slide-up {
  0% { transform: translateY(90px); opacity: 0; }
  100% { transform: translateY(0px); opacity: 1; }
}
.cookie-banner .cookie-buttons { display: flex; gap: 13px; }
.cookie-banner button {
  background: #F3EFE6;
  color: #24403C;
  border: none;
  border-radius: 22px;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(56,124,109,.07);
  margin: 0;
  transition: background 0.2s, color 0.18s, transform 0.13s;
}
.cookie-banner button:focus, .cookie-banner button:hover {
  background: #326964;
  color: #fff;
  transform: scale(1.045);
}
.cookie-banner .cookie-settings {
  background: none;
  color: #fff;
  border: 1.2px solid #fff;
  padding: 10px 16px;
  border-radius: 22px;
  box-shadow: none;
  margin-left: 7px;
  transition: border 0.16s;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #24403C;
  color: #F3EFE6;
  border: 1.2px solid #F3EFE6;
}

@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 21px 8px; gap: 12px; font-size: .98rem; }
  .cookie-banner .cookie-buttons { width: 100%; flex-direction: column; gap: 7px; }
}

/* --- Cookie Modal --- */
.cookie-modal-backdrop {
  position: fixed; z-index: 2200; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(36,64,60,0.60);
  backdrop-filter: blur(1.5px);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.24s;
  animation: fadeIn 0.33s;
}
@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
.cookie-modal {
  background: #F3EFE6;
  color: #24403C;
  padding: 34px 26px 28px 26px;
  border-radius: 26px;
  max-width: 95vw;
  width: 400px;
  box-shadow: 0 8px 36px rgba(56,124,109,0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modal-slide-up 0.5s cubic-bezier(.52,1.8,.4,1);
}
@keyframes modal-slide-up { 0% { transform: translateY(92px); opacity: 0;} 100% { transform: translateY(0); opacity: 1; } }
.cookie-modal h2 {
  margin-top: 0; margin-bottom: 10px; font-size: 1.3rem; color: #387C6D;
}
.cookie-modal .cookie-options {
  display: flex; flex-direction: column; gap: 11px;
}
.cookie-modal label {
  display: flex; align-items: center; gap: 12px; font-size: 1rem;
}
.cookie-modal input[type=checkbox] {
  accent-color: #387C6D; /* fallback: Chrome and most browsers */
  width: 16px; height: 16px;
}
.cookie-modal .essential { color: #24403C; font-weight: bold; }
.cookie-modal .modal-actions {
  display: flex; gap: 14px; margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  background: #387C6D; color: #fff; border-radius: 22px;
  border: none;
  padding: 9px 18px;font-size: 1rem;font-weight:600;
  box-shadow:0 2px 10px rgba(56,124,109,.07);
  transition: background 0.19s, color 0.17s;
}
.cookie-modal .modal-actions button:hover, .cookie-modal .modal-actions button:focus {
  background: #24403C;color: #F3EFE6;
}
.cookie-modal .modal-close {
  background: none; border: none; color:#387C6D; font-size:1.35rem;
  position: absolute; right: 15px; top: 15px; cursor:pointer;
  padding: 3px 7px; transition: color 0.15s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus { color: #24403C; }

/* --- ORGANIC/NATURE DETAILS --- */
section, .feature-grid > div, .team-bio-grid > div, .card, .testimonial-card, .contact-info-block, .address-block, .directions {
  background-image: url('../assets/decor/leaf-bg.svg'), url('../assets/decor/texture.png');
  background-repeat: no-repeat, repeat;
  background-position: right top, left bottom;
  background-size: 110px, auto;
  /* fallback: subtle pattern, override if image doesn't exist */
}
/* If no assets, just keep the color bg (safe fallback) */

/* --- SHADOWS, BORDERS, EFFECTS --- */
.card, .feature-grid > div, .team-bio-grid > div, .testimonial-card, .contact-info-block, .directions, .address-block  {
  box-shadow: 0 2px 12px rgba(36,64,60,0.11);
  border: 1px solid #E4E9DE;
}

/* --- ANIMATIONS & INTERACTIONS --- */
.card, .feature-grid > div, .team-bio-grid > div, .testimonial-card {
  transition: box-shadow 0.21s, transform 0.17s, border 0.13s;
}
.card:hover, .team-bio-grid > div:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 6px 42px -12px rgba(56,124,109,0.23);
  border: 1.5px solid #387C6D;
  transform: translateY(-2px) scale(1.01);
}

a.cta-btn:active, button:active, .mobile-menu-close:active, .mobile-menu-toggle:active {
  transform: scale(0.97);
}
a[href^=mailto] { color: #387C6D; text-decoration: underline; }
a[href^=mailto]:hover, a[href^=mailto]:focus { color: #24403C; }

/* --- ACCESSIBILITY --- */
[tabindex="0"]:focus, a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2.5px solid #387C6D;
  outline-offset: 2px;
}

/* --- VISUAL FEEDBACK --- */
.cta-btn:active, .cookie-banner button:active, .mobile-nav a:active {
  opacity: 0.89;
}

/* --- Misc (for privacy/GDPR/cookie pages) --- */
main h1, main h2, main h3, main h4 {
  margin-bottom: 12px;
  color: #24403C;
}
main p + h3, main p + h2 { margin-top: 22px; }
main ul, main ol { margin-top: 6px; }

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