/* === CSS RESET & BASELINE === */
html,body,div,span,applet,object,iframe,
h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,code,del,dfn,em,img,ins,kbd,q,s,samp,small,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;}
ul,ol {list-style: none;}
blockquote,q {quotes: none;}
blockquote:before,blockquote:after,q:before,q:after {content: '';content: none;}
a {background:transparent;text-decoration:none;transition:color .25s;}
img {border:0;max-width:100%;height:auto;display:block;}
input,button,textarea,select {font:inherit;}

/* === CSS VARIABLES: Soft Pastel Palette === */
:root {
  --color-primary: #24543D;
  --color-secondary: #6DB592;
  --color-accent: #F0F7E9;
  --color-pastel-a: #E8F6EF;
  --color-pastel-b: #F5EBFA;
  --color-pastel-c: #FDF6E4;
  --color-pastel-d: #FFE6E6;
  --color-pastel-e: #E3F0FF;
  --color-btn-hover: #8dd6ab;
  --color-white: #fff;
  --color-light-text: #626D5C;
  --color-dark-text: #1A2E1C;
  --shadow: 0 4px 16px rgba(80,114,85,0.07), 0 1.5px 6px rgba(120,180,170,0.10);
  --radius: 18px;
  --radius-btn: 22px;
}

/* === WEBFONTS (Google Fonts) === */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600&display=swap');

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: var(--color-accent);
  color: var(--color-dark-text);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* --- Section Spacing --- */
.section,
.hero,
.features,
.services,
.about,
.contact,
.testimonials,
.footer {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  background: var(--color-accent);
  box-shadow: var(--shadow);
}

/* Card containers & alignment */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.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;
  border-radius: var(--radius);
  background: var(--color-pastel-b);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  flex: 1 1 330px;
  color: var(--color-dark-text);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 20px;
}
.features-list li {
  background: var(--color-pastel-e);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 22px 26px 22px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  min-width: 230px;
  max-width: 310px;
  transition: box-shadow .21s, transform .21s;
}
.features-list li img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
.features-list li strong {
  font-family: 'Merriweather', serif;
  font-size: 1.13rem;
  color: var(--color-primary);
  font-weight: 700;
}
.features-list li p {
  font-size: 0.97rem;
  color: var(--color-light-text);
}
.features-list li:hover, .features-list li:focus-within {
  box-shadow: 0 10px 24px rgba(80,114,85,.15);
  transform: translateY(-2px) scale(1.025);
}


/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Merriweather', serif;
  color: var(--color-primary);
}
h1 {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 1.23rem;
  font-weight: 600;
  margin-bottom: 7px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
p, ul, li, address, dl, dt, dd {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-dark-text);
}
p {
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}

address {
  font-style: normal;
  color: var(--color-primary);
  font-size: 0.97rem;
  margin-bottom: 6px;
}

.text-section ul {
  padding: 0 0 0 18px;
  margin-top: 4px;
  margin-bottom: 10px;
  color: var(--color-dark-text);
}
.text-section ul li {
  padding-left: 0.4em;
  margin-bottom: 5px;
  list-style: disc;
}

.text-section h3 {
  font-size: 1.13rem;
  margin-top: 12px;
  margin-bottom: 7px;
}

/* --- Buttons, CTA --- */
.cta-primary, .text-section a.cta-primary {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  box-shadow: 0 2px 7px rgba(100,180,150,0.12);
  letter-spacing: 0.03em;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background .22s, color .22s, transform .16s;
  outline: none;
  margin-top: 15px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-btn-hover);
  color: var(--color-primary);
  transform: translateY(-1px) scale(1.03);
}
button, .mobile-menu-toggle, .mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 50%;
  transition: background .23s, color .23s;
}
button:hover, .mobile-menu-toggle:hover, .mobile-menu-close:hover {
  background: var(--color-pastel-c);
  color: var(--color-secondary);
}


/* === HEADER & NAVIGATION === */
header {
  background: var(--color-pastel-a);
  box-shadow: var(--shadow);
  padding: 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  position: relative;
  z-index: 99;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 22px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: var(--color-primary);
  font-family: 'Merriweather', serif;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding: 4px 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--color-secondary);
  width: 0;
  transition: width .36s;
  margin-top: 3px;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 80%;
}

.mobile-menu-toggle {
  display: none;
}

/* === MOBILE NAVIGATION === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(245,235,250,0.98);
  z-index: 2000;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  overflow-y: auto;
  transition: transform .45s cubic-bezier(.93,0,.6,1), opacity .32s;
  opacity: 0;
  transform: translateX(100%);
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  margin: 18px 26px 0 0;
}
.mobile-nav {
  width: 100vw;
  padding: 48px 40px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.27rem;
  padding: 10px 6px 8px 0;
  width: 100%;
  border-radius: var(--radius-btn);
  transition: background .25s, color .25s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .main-nav,
  header .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    position: relative;
    z-index: 9001;
    margin-left: auto;
    background: var(--color-pastel-c);
    font-size: 2.2rem;
    box-shadow: none;
  }
}


/* === HERO SECTION === */
.hero {
  background: linear-gradient(120deg, var(--color-pastel-b) 50%, var(--color-pastel-a) 100%);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-top: 16px;
  margin-bottom: 40px;
  padding: 44px 20px 48px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.6rem;
  font-weight: 900;
}
.hero p {
  color: var(--color-light-text);
  font-size: 1.18rem;
  margin-bottom: 12px;
}


/* === TESTIMONIALS === */
.testimonials {
  background: var(--color-pastel-b);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 0 0;
}
.testimonial-card {
  min-width: 220px;
  background: var(--color-accent);
  color: var(--color-dark-text);
  border-left: 6px solid var(--color-secondary);
  padding: 26px 28px 22px 25px;
  margin-bottom: 0;
  font-size: 1.1rem;
  font-style: italic;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  position: relative;
  transition: box-shadow .16s, transform .19s;
}
.testimonial-card strong {
  font-size: 1.02rem;
  color: var(--color-primary);
  font-style: normal;
}
.testimonial-card span {
  display: block;
  margin-top: 11px;
  font-size: 0.96rem;
  font-style: normal;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 20px rgba(80,114,85,0.09);
  transform: translateY(-2px) scale(1.018);
}


/* === FOOTER === */
footer {
  background: var(--color-pastel-a);
  color: var(--color-primary);
  padding: 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-top: 36px;
  padding-bottom: 22px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--color-primary);
  font-family: 'Merriweather', serif;
  font-weight: 600;
  font-size: 0.97rem;
  transition: color .18s;
}
.footer-nav a:hover {
  color: var(--color-secondary);
}
footer .text-section {
  color: var(--color-primary);
  font-size: 0.97rem;
}
footer address {
  color: var(--color-primary);
  line-height: 1.7;
}
footer p {
  margin-top: 6px;
  font-size: 0.95rem;
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--color-pastel-d);
  color: var(--color-dark-text);
  box-shadow: 0 -3px 20px rgba(80,114,85,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  padding: 18px 28px 18px 26px;
  z-index: 5000;
  font-size: 1rem;
  opacity: 1;
  transition: transform .43s, opacity .30s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-consent-text {
  max-width: 600px;
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-consent-banner button,
.cookie-btn {
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Merriweather', serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background .21s, color .21s;
  margin-left: 0;
}
.cookie-consent-banner .cookie-btns .cookie-settings {
  background: var(--color-pastel-c);
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
  font-weight: 600;
}
.cookie-consent-banner button:hover, .cookie-consent-banner .cookie-btns .cookie-settings:hover {
  background: var(--color-btn-hover);
  color: var(--color-primary);
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 95vw;
  max-width: 430px;
  background: var(--color-pastel-e);
  color: var(--color-dark-text);
  border-radius: 26px;
  box-shadow: 0 18px 44px rgba(70,90,50,0.12);
  padding: 34px 30px 24px 30px;
  z-index: 9999;
  transform: translate(-50%,-60%);
  display: none;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transition: opacity .27s, transform .42s;
}
.cookie-modal.open {
  display: flex;
  opacity: 1;
  transform: translate(-50%, -50%);
}
.cookie-modal h3 {
  font-size: 1.2rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  margin-bottom: 7px;
}
.cookie-category .toggle {
  width: 36px; height: 22px;
  background: var(--color-pastel-c);
  border-radius: 16px;
  position: relative;
  transition: background .23s;
  cursor: pointer;
  border: 1px solid var(--color-secondary);
  display: flex;
  align-items: center;
}
.cookie-category .toggle input {display:none;}
.cookie-category .toggle .toggle-dot {
  width: 18px; height: 18px;
  background: var(--color-secondary);
  position: absolute;
  border-radius: 50%;
  left: 2px; top: 1.5px;
  transition: left .22s, background .2s;
}
.cookie-category .toggle input:checked + .toggle-dot {
  left: 16px;
  background: var(--color-primary);
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  background: none;
  font-size: 1.5rem;
  color: var(--color-primary);
  position: absolute;
  top: 16px;
  right: 20px;
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover {color: var(--color-secondary);}


/* === RESPONSIVE DESIGN === */
@media (max-width: 1050px) {
  .features-list li { max-width: 48%;}
}
@media (max-width: 900px) {
  .features-list li { max-width: 90vw;}
  .testimonial-list,
  .features-list {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card, .features-list li {
    width: 100%;
    min-width: 0;
  }
  .container {
    padding-left: 10px!important;
    padding-right: 10px!important;
  }
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding-top: 28px;
    padding-bottom: 20px;
  }
  .hero {
    padding: 32px 3vw 38px 3vw;
  }
}
@media (max-width: 768px) {
  .hero h1 {font-size:2.1rem;}
  h2 {font-size:1.3rem;}
  .section, .hero, .features, .services, .about, .contact, .testimonials, .footer {
    padding: 32px 9px;
    margin-bottom: 38px;
  }
  .testimonial-list, .features-list, .content-grid, .card-container {
    gap: 16px;
  }
  .content-wrapper {
    gap: 19px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 630px) {
  h1 {font-size:1.5rem;}
  .hero h1 {font-size:1.4rem;}
  .section, .hero, .features, .services, .about, .contact, .testimonials, .footer {
    padding: 20px 0;
    margin-bottom: 22px;
  }
  .features-list li, .testimonial-card, .card {
    padding: 20px 10px;
  }
}
@media (max-width: 440px) {
  .hero, .section, .features, .services, .about, .contact, .testimonials, .footer {
    border-radius: 0;
    padding-left: 0; padding-right: 0;
  }
}

/* === FORM, DL, FAQ BASE === */
dt {font-weight:700;color:var(--color-secondary);font-family:'Merriweather',serif;margin-top:8px;}
dd {margin-left:0;margin-bottom:12px;}

/* === Custom Scrollbar (Pastel) === */
::-webkit-scrollbar {
  width:9px;
  background:var(--color-pastel-b);
  border-radius:8px;
}
::-webkit-scrollbar-thumb {
  background:var(--color-secondary);
  border-radius:8px;
}

/* === Misc. === */
a {transition:color .21s, background .18s, box-shadow .16s;}
a:focus {outline:2px dashed var(--color-secondary); outline-offset:2px;}

/* Ensure spacing between major elements */
main > section, main .section, main .hero, main .features, main .services, main .about, main .contact, main .testimonials, main .footer {
  margin-bottom: 60px;
}
main > section:last-child, main .section:last-child {
  margin-bottom: 0;
}

/* Utility classes */
.mt-8 {margin-top:8px;}
.mt-16 {margin-top:16px;}
.mb-12 {margin-bottom:12px;}
.mb-20 {margin-bottom:20px;}

/* Hide visually */
.visually-hidden {position:absolute!important;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden;}

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