/* --- CSS RESET & BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F7FAF8;
  color: #245c3e;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #245c3e;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #008970;
}

/* --- PASTEL COLOR PALETTE --- */
:root {
  --color-primary: #2A6D4B;
  --color-primary-light: #7ec4a9;
  --color-secondary: #E5F3EA;
  --color-background: #F7FAF8;
  --color-accent: #FFD244;
  --color-accent-light: #FFF3CD;
  --color-pink: #FFE7F4;
  --color-blue: #E5F0FA;
  --color-lavender: #ece8fa;
  --color-border: #CBE2D6;
  --color-dark: #245c3e;
  --color-light-text: #fff;
  --color-testimonial-bg: #fff;
  --color-shadow: 0 2px 16px 0 rgba(49, 73, 54, 0.10);
  --color-focus: #FFD244;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  margin-bottom: 12px;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.2rem;
}
h4 {
  font-size: 1rem;
}
p, li, a, span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #245c3e;
}

@media (min-width: 600px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }
  p, li, span, a { font-size: 1.065rem; }
}

b, strong {
  font-weight: 700;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 1em;
}

section ul > li {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.6;
  font-size: 1rem;
}
section ul > li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  padding: 0;
  margin: 0 auto;
}

/* --- FLEX SPACING MANDATORY PATTERNS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-testimonial-bg);
  border-radius: 24px;
  box-shadow: var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 28px;
  transition: box-shadow 0.3s;
}
.card:hover {
  box-shadow: 0 4px 28px 0 rgba(49, 73, 54, 0.15);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: var(--color-testimonial-bg);
  margin-bottom: 24px;
  border-radius: 20px;
  box-shadow: var(--color-shadow);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s, border 0.2s;
  color: #245c3e;
}
.testimonial-card span {
  color: #2a6d4b;
  font-size: 1.03rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .content-grid, .text-image-section, .card-container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    padding: 14px 10px;
    font-size: 0.98rem;
  }
  .card {
    padding: 17px 11px;
  }
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: linear-gradient(90deg, #E5F3EA 0%, #FFE7F4 100%);
  box-shadow: 0 1px 7px 0 rgba(43,61,48,0.03);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  z-index: 10;
}
header > a > img {
  height: 52px;
  margin-left: 18px;
  margin-bottom: 6px;
  margin-top: 0;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  justify-content: center;
}
header nav a {
  font-family: var(--font-body);
  padding: 6px 6px 7px 6px;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--color-primary);
  transition: background 0.15s, color 0.19s;
  letter-spacing: 0.01em;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--color-accent-light);
  color: var(--color-dark);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(90deg, var(--color-accent), #FFE7F4);
  color: #174531;
  border-radius: 30px;
  padding: 12px 30px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 1px 8px 0 rgba(255,210,68,0.16);
  transition: background 0.18s, box-shadow 0.18s, color 0.1s;
  cursor: pointer;
  margin-left: 24px;
  margin-top: 0;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #F8E395 60%, var(--color-accent) 100%);
  color: #245c3e;
  box-shadow: 0 3px 24px 0 rgba(255,210,68,0.18);
}
/* Hide cta-btn on mobile in header, but show in main, service cards etc. */
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0 !important;
    margin-top: 16px !important;
  }
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  border: none;
  border-radius: 11px;
  font-size: 2rem;
  padding: 7px 18px;
  color: #174531;
  cursor: pointer;
  margin-right: 24px;
  margin-top: 5px;
  z-index: 30;
  box-shadow: 0 1px 8px 0 rgba(255,210,68,0.12);
  transition: background 0.17s, color 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-focus);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(252,249,245, 0.95);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.77,.15,.49,.86);
  z-index: 900;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  padding: 14px 26px 4px 6px;
  cursor: pointer;
  align-self: flex-end;
  margin: 12px 4px 14px 0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  padding: 10px 40px;
  margin-top: 22px;
}
.mobile-nav a {
  font-size: 1.25rem;
  padding: 12px 0;
  color: var(--color-dark);
  font-family: var(--font-display);
  width: 100%;
  transition: background 0.18s, color 0.18s;
  border-radius: 9px;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent-light);
  color: #245c3e;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: inline-block;
  }
  .cta-btn {
    display: none;
  }
}

/* --- MAIN SECTIONS & HERO --- */
main {
  padding-top: 22px;
}
section {
  width: 100%;
  background: none;
  margin-bottom: 60px;
  padding: 40px 10px 40px 10px;
}
@media (min-width: 950px) {
  section {
    padding-left: 0;
    padding-right: 0;
  }
}
.hero, .container > .content-wrapper:first-child {
  background: linear-gradient(90deg, #E5F3EA 70%, #ffe7f4 100%);
  border-radius: 32px;
  box-shadow: 0 1px 15px 0 rgba(49, 73, 54, 0.09);
  margin-bottom: 48px;
  padding: 54px 20px;
}
@media (max-width: 768px) {
  section {
    padding: 22px 5px 30px 5px;
    margin-bottom: 32px;
  }
  .hero, .container > .content-wrapper:first-child {
    padding: 33px 7px;
    border-radius: 18px;
    margin-bottom: 30px;
  }
}

/* --- SERVICE CARDS --- */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-cards > div {
  background: linear-gradient(90deg, #E5F3EA 80%, #ffe7f4 100%);
  border-radius: 19px;
  box-shadow: var(--color-shadow);
  padding: 28px 24px;
  flex: 1 1 256px;
  min-width: 240px;
  max-width: 350px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s;
  border: 1.5px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.service-cards > div:hover {
  box-shadow: 0 5px 22px 0 rgba(49, 73, 54, 0.18);
}
.service-cards h3 {
  font-size: 1.3rem;
  color: #2A6D4B;
  margin-bottom: 7px;
}
.service-cards ul li {
  font-size: 1rem;
}

@media (max-width: 750px) {
  .service-cards {
    flex-direction: column;
    gap: 18px;
  }
  .service-cards > div {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

/* --- FEATURE ICON LISTS, TEAM, AND GRID AREAS --- */
.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.team-profiles > div {
  background: #FFF;
  box-shadow: 0 1px 10px 0 rgba(49, 73, 54, 0.08);
  border-radius: 16px;
  padding: 23px 16px;
  min-width: 200px;
  flex: 1 1 240px;
  max-width: 320px;
  border: 1px solid #eaeaea;
  transition: box-shadow 0.18s;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.team-profiles > div:hover {
  box-shadow: 0 2px 18px 0 rgba(49, 73, 54, 0.16);
}
@media (max-width: 800px) {
  .team-profiles {
    flex-direction: column;
    gap: 15px;
  }
}

/* --- FAQ SECTION --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 10px;
}
.faq-list h3 {
  color: #2A6D4B;
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin-bottom: 6px;
}
.faq-list p {
  color: #446c51;
  font-size: 0.98rem;
  margin-bottom: 8px;
  margin-top: -5px;
}

/* --- TEXT-ONLY BLOCK SECTIONS --- */
.text-section p {
  margin-bottom: 12px;
}

/* --- FOOTER --- */
footer {
  background: linear-gradient(90deg, #E5F3EA 80%, #ffe7f4 100%);
  padding: 32px 0 12px 0;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -3px 18px 0 rgba(49, 73, 54, 0.08);
  margin-top: 28px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 11px;
  justify-content: center;
}
.footer-nav a {
  color: var(--color-primary);
  font-size: 1.01rem;
  font-family: var(--font-body);
  opacity: 0.88;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.12s;
}
.footer-nav a:hover {
  background: var(--color-accent-light);
  color: #245c3e;
  opacity: 1;
}
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 0.97rem;
}
.footer-social {
  display: flex;
  gap: 14px;
  margin-bottom: 0.5em;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  opacity: 0.88;
  transition: opacity 0.18s, filter 0.18s;
}
.footer-social a:hover img {
  opacity: 1;
  filter: brightness(1.2);
}
footer p.copyright {
  font-size: 0.93rem;
  opacity: 0.7;
  margin-top: 9px;
}
@media (max-width: 640px) {
  .footer-nav { gap: 10px; }
  .footer-social a img { width: 23px; height: 23px; }
  footer { border-radius: 15px 15px 0 0; padding: 18px 0 7px 0; }
}

/* --- BUTTONS & INTERACTIVES --- */
button, .cta-btn {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-display);
  border-radius: 24px;
  transition: background 0.15s, color 0.16s, box-shadow 0.17s, outline 0.11s;
}
button:focus, .cta-btn:focus {
  outline: 2px solid var(--color-focus);
  outline-offset: 1px;
}

/* --- FORMS (if needed) --- */
input, textarea, select {
  font-family: var(--font-body);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 11px 13px;
  margin-bottom: 14px;
  width: 100%;
  background: #F8F9F8;
  font-size: 1rem;
  transition: border 0.15s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.3px solid var(--color-primary-light);
  box-shadow: 0 0 0 2px var(--color-accent-light);
}

/* --- MICRO-INTERACTIONS --- */
.card, .service-cards > div, .team-profiles > div, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.18s;
}
.card:hover, .service-cards > div:hover, .team-profiles > div:hover, .testimonial-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 40px 0 rgba(49, 73, 54, 0.12);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #fbf8ea 70%, #e5f3ea 100%);
  box-shadow: 0 -1px 16px 0 rgba(90, 120, 100, 0.12);
  padding: 20px 16px 18px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  z-index: 905;
  font-size: 0.99rem;
  border-radius: 16px 16px 0 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.33s, transform 0.36s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  flex: 1 1 auto;
  color: #245c3e;
  margin-right: 8px;
}
.cookie-banner .cookie-btn {
  background: var(--color-accent);
  color: #245c3e;
  border-radius: 21px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 9px 18px;
  border: none;
  margin-left: 8px;
  margin-right: 0px;
  transition: background 0.16s, color 0.13s;
  box-shadow: 0 2px 12px 0 rgba(255,210,68,0.10);
  cursor: pointer;
}
.cookie-banner .cookie-btn:hover {
  background: #FFE27D;
  color: #1f4639;
}
.cookie-banner .cookie-settings-btn {
  background: var(--color-primary-light);
  color: #245c3e;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #caecdd;
}
@media (max-width: 610px) {
  .cookie-banner {
    flex-direction: column;
    gap: 11px;
    font-size: 0.95rem;
    align-items: stretch;
    padding-left: 10px;
    padding-right: 10px;
  }
  .cookie-banner p { margin-bottom: 5px; }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left:0; top:0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  z-index: 9980;
  background: rgba(243,241,233, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: linear-gradient(110deg, #ffe7f4 80%, #E5F3EA 100%);
  border-radius: 19px;
  box-shadow: 0 8px 46px 0 rgba(49,73,54,0.15);
  padding: 36px 34px 32px 34px;
  max-width: 415px;
  width: 95vw;
  position: relative;
  font-family: var(--font-body);
  color: #245c3e;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px;
  gap: 7px;
}
.cookie-modal .cookie-category label {
  flex: 1;
  font-size: 1rem;
  color: #24634b;
}
.cookie-modal .cookie-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}
.cookie-modal .cookie-switch input {
  opacity: 0; width: 0; height: 0;
}
.cookie-modal .cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e6f3ed;
  border-radius: 16px;
  transition: background 0.19s;
}
.cookie-modal .cookie-switch input:checked + .cookie-slider {
  background: var(--color-primary-light);
}
.cookie-modal .cookie-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--color-accent);
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-modal .cookie-switch input:checked + .cookie-slider::before {
  transform: translateX(18px);
}
.cookie-modal .cookie-btn-group {
  display: flex;
  gap: 13px;
  margin-top: 17px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  background: var(--color-accent);
  color: #245c3e;
  border-radius: 18px;
  padding: 9px 20px;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0;
  transition: background 0.15s;
}
.cookie-modal .cookie-btn:hover {
  background: #FFE27D;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #245c3e;
  cursor: pointer;
}

/* --- RESPONSIVE UTILITIES --- */
@media (max-width: 520px) {
  h1 { font-size: 1.47rem; }
  h2 { font-size: 1.13rem; }
  .footer-nav { flex-direction: column; gap: 3px; }
  .cookie-modal { padding: 19px 9px 21px 9px; }
}

/* --- FORMS (for contact page) --- */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---- SPECIAL CLASS: TEXT CENTER (for thank you page, etc.) ---- */
.text-center, [style*="text-align: center"] {
  text-align: center !important;
}

/* --- MISC --- */
::-webkit-scrollbar   { width: 8px; background: #fbf8ea; }
::-webkit-scrollbar-thumb { background: #e5f3ea; border-radius: 8px;}
::-webkit-input-placeholder { color: #aad3c6;}
::placeholder { color: #aad3c6; }


/* --- Z-INDEX LAYERS --- */
header { z-index: 20; }
.mobile-menu { z-index: 900; }
.cookie-banner { z-index: 1250; }
.cookie-modal-overlay { z-index: 9980; }
footer { z-index: 1; }


/* --- END --- */
