/* --- 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, 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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F7F6F0;
  color: #225559;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: #225559; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #A0B195; }
img { max-width: 100%; height: auto; display: block; }
ul, ol {padding-left: 1.5rem; margin-bottom: 1.25em;}
li {margin-bottom: 0.6em;}
strong, b {font-weight: 600;}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #225559;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.14;
  margin-bottom: 16px;
}
h1 { font-size: 2.2rem; margin-bottom: 24px; }
h2 { font-size: 1.6rem; margin-bottom: 18px; }
h3 { font-size: 1.20rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }
p, ul, ol { font-size: 1rem; margin-bottom: 12px; color: #2D3E36; }
blockquote { font-style: italic; color: #225559; background: #F7F6F0; border-left: 4px solid #A0B195; padding: 18px 24px; border-radius: 10px; margin-bottom: 16px; }

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- HEADER --- */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(34,85,89,0.04);
  border-bottom: 1px solid #E3E4DA;
  position: relative;
  z-index: 50;
}
header .container {
  min-height: 78px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img {
  height: 48px;
  width: auto;
  margin-right: 12px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 0;
  font-weight: 500;
  color: #225559;
  transition: color .2s;
  position: relative;
}
nav a:hover, nav a:focus {
  color: #A0B195;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #225559;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 28px;
  border: none;
  transition: background .18s, color .18s, box-shadow .18s;
  box-shadow: 0 2px 12px 0 rgba(34,85,89,0.05);
  cursor: pointer;
  margin-left: 18px;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #A0B195;
  color: #225559;
  outline: none;
  box-shadow: 0 4px 16px 0 rgba(34,85,89,0.14);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: #A0B195;
  border: none;
  color: #225559;
  font-size: 2.1rem;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, color .15s;
  z-index: 1050;
  margin-left: 18px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover { background: #225559; color: #fff; }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34, 85, 89, 0.97);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform .34s cubic-bezier(.74,.12,.21,.96);
  overflow-y: auto;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 22px 6px 0;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 1102;
  transition: color .2s;
  padding: 4px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover { color: #A0B195; }
.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 36px 32px 32px 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  width: 100%;
  transition: color .22s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #A0B195 !important;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 1024px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .btn-primary {
    margin-left: 0;
  }
}
/* Hide mobile menu on desktop */
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- MAIN LAYOUT & SECTIONS --- */
main {
  padding-top: 18px;
  background: #F7F6F0;
}
section {
  margin-bottom: 60px; padding: 40px 20px;
  background: none;
  display: flex;
  flex-direction: column;
}
.content-wrapper, .text-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  padding: 0;
}
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { background: #fff; border-radius: 18px; box-shadow: 0 4px 16px 0 rgba(34,85,89,0.06); margin-bottom: 20px; position: relative; padding: 24px; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.testimonial-card { display: flex; align-items: center; gap: 20px; background: #fff; border-radius: 14px; box-shadow: 0 2px 14px 0 rgba(34,85,89,0.08); padding: 20px; margin-bottom: 16px; min-width: 240px; transition: box-shadow .18s; border: 1px solid #E3E4DA; }
.testimonial-card:hover, .testimonial-card:focus-within { box-shadow: 0 6px 24px 0 rgba(160,177,149,0.15); border: 1px solid #A0B195; }

/* --- SPECIAL CONTENT --- */
ul > li > img, ol > li > img {
  margin-right: 12px;
  vertical-align: middle;
  display: inline-block;
}
.post-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px 0 rgba(34,85,89,0.07);
  border: 1px solid #E3E4DA;
  padding: 24px 28px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .18s, border .18s;
}
.post-card:hover, .post-card:focus-within { box-shadow: 0 12px 36px 0 rgba(160,177,149,0.13); border: 1px solid #A0B195; }

/* --- CALL TO ACTION --- */
section .btn-primary, section a.btn-primary {
  margin-top: 8px;
  align-self: flex-start;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 1px solid #E3E4DA;
  box-shadow: 0 -1px 16px 0 rgba(34,85,89,0.02);
  padding: 0;
  color: #225559;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 32px 20px 28px 20px;
}
.logo-footer img {
  height: 36px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 0px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  margin-right: 6px;
}
footer p:last-child {
  color: #A0B195;
  font-size: 0.93rem;
  margin-top: 8px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -2px 24px 0 rgba(34,85,89,0.12);
  border-top: 1px solid #E3E4DA;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 14px 20px 14px;
  gap: 16px;
  animation: banner-slide-up .6s cubic-bezier(.7,.3,.3,1);
}
@keyframes banner-slide-up {
  from { transform: translateY(180px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #225559;
  font-size: 1rem;
  text-align: center;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-btn {
  background: #225559;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s, color .18s;
  outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #A0B195;
  color: #225559;
}
.cookie-btn[data-type='settings'] {
  background: #A0B195;
  color: #225559;
  border: 1px solid #225559;
}
.cookie-btn[data-type='settings']:hover, .cookie-btn[data-type='settings']:focus {
  background: #fff;
  color: #225559;
  border: 1px solid #A0B195;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,85,89,0.36);
  z-index: 3300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .25s;
}
@keyframes fadeIn {
  0% { opacity: 0; } 100% { opacity: 1; }
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 14px;
  padding: 38px 24px 28px 24px;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(34,85,89,0.15);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: popIn .3s cubic-bezier(.75,.1,.6,.95);
}
@keyframes popIn {
  0% { transform: scale(.94); opacity: 0; } 70% { transform: scale(1.05); } 100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  align-self: flex-end;
  font-size: 1.4rem;
  background: none;
  border: none;
  color: #A0B195;
  cursor: pointer;
  transition: color .17s;
  padding: 2px 6px;
}
.cookie-modal-close:focus, .cookie-modal-close:hover { color: #225559; }
.cookie-modal h3 {
  font-size: 1.25rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #225559;
}
.cookie-category label {
  font-size: 1rem;
  color: #225559;
}
.cookie-category.disabled label { color: #A0B195; }

/* --- INTERACTIVE ELEMENTS & CARDS --- */
.card, .testimonial-card, .post-card {
  transition: box-shadow .2s, border-color .18s, background .2s;
}
.card:hover, .testimonial-card:hover, .post-card:hover {
  box-shadow: 0 8px 32px rgba(160,177,149,0.10);
  border-color: #A0B195;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.22rem; }
  .container { max-width: 98vw; }
}
@media (max-width: 768px) {
  .container {
    padding-left: 9px; padding-right: 9px;
  }
  section { padding: 30px 4px; margin-bottom: 40px; }
  .content-wrapper, .text-section {
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 4px;
  }
  .post-card, .card {
    padding: 16px 10px;
  }
  header .container { min-height: 56px; gap: 12px; }
}
@media (max-width: 520px) {
  .footer-contact p { font-size: 0.93rem; }
  .cookie-modal-dialog { max-width: 96vw; padding: 24px 7px; }
  .cookie-banner {
    padding: 18px 6px 12px 6px;
  }
}

/* --- UI MICRO-INTERACTIONS & FOCUS --- */
:focus { outline: 2px solid #A0B195; outline-offset: 3px; }
input, textarea, select, button { font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 1rem; }
button { cursor: pointer; transition: background .17s, color .17s; }

/* --- VISUAL & DECORATIVE --- */
.card, .testimonial-card, .post-card {
  border-radius: 17px;
  box-shadow: 0 4px 16px 0 rgba(160,177,149,0.08);
}
.card img, .testimonial-card img { border-radius: 10px; }

/* --- VISUAL HIERARCHY SPACING --- */
section > .container { gap: 0; }
section:not(:last-child) { margin-bottom: 60px; }
.card-container > *, .content-grid > *, .testimonial-card + .testimonial-card, .feature-item + .feature-item {
  margin-bottom: 0 !important;
}

/* --- UTILITY CLASSES --- */
.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-8 { gap:8px; }
.gap-16 { gap:16px; }
.gap-24 { gap:24px; }
.text-center { text-align: center; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.mt-24 { margin-top: 24px; }
.mb-20 { margin-bottom: 20px; }
.mb-16 { margin-bottom: 16px; }

/* --- PRINT (no unnecessary backgrounds or borders) --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
}
