/* =======================
   1. CSS RESET & BASELINE
   ======================= */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Roboto', 'Georgia', Times, serif;
  color: #242423;
  background: #F9F6F3;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}
li + li {
  margin-top: 0.5em;
}
a {
  color: #28516B;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #5D8F6F;
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Georgia', Times, serif;
  color: #28516B;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 {font-size: 2.75rem;margin-bottom: 24px;}
h2 {font-size: 2rem;margin-bottom: 20px;}
h3 {font-size: 1.3rem;margin-bottom: 16px;}
h4,h5,h6 {font-size:1.05rem;}
strong { font-weight: 700; }
blockquote {
  font-family: 'Georgia', serif;
  font-size: 1.15rem;
  color: #205162;
  border-left: 3px solid #5D8F6F;
  padding-left: 18px;
  margin: 12px 0 8px 0;
  font-style: italic;
  background: #F4F3F0;
}
cite {
  display: block;
  color: #535353;
  font-size: 0.97em;
  margin-top: 6px;
  font-style: normal;
  letter-spacing: 0.02em;
}
/* =======================
   2. UTILITY LAYOUTS & CONTAINER
   ======================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 700px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
/* =======================
   3. HEADER & NAVIGATION
   ======================= */
header {
  background: #fff;
  border-bottom: 1px solid #ECE9E6;
  padding: 0;
  position: relative;
  z-index: 102;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 80px;
  position: relative;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Georgia', Times, serif;
  font-size: 1rem;
  color: #28516B;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #E6EBF0;
  color: #5D8F6F;
}
header img {
  height: 48px;
}
.cta-btn {
  display: inline-block;
  background: #28516B;
  color: #fff;
  font-family: 'Montserrat', 'Georgia', Times, serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 12px 28px;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(40,81,107,0.06);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.1s;
  text-decoration: none;
  margin-left: 8px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #5D8F6F;
  color: #fff;
  box-shadow: 0 4px 14px rgba(93,143,111,0.13);
  transform: translateY(-2px) scale(1.021);
  outline: none;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2em;
  color: #28516B;
  cursor: pointer;
  padding: 8px 10px;
  margin-left: 8px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #E6EBF0;
}
/* =======================
   4. MOBILE MENU
   ======================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(248, 246, 243, 0.98);
  box-shadow: 0 6px 32px rgba(40,81,107,0.25);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.6, .05, .28, 1);
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-end;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1em;
  color: #28516B;
  margin: 22px 22px 0 0;
  cursor: pointer;
  z-index: 1201;
  transition: background 0.15s;
  border-radius: 8px;
}
.mobile-menu-close:focus, .mobile-menu-close:active {
  background: #E6EBF0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 36px 36px;
  gap: 14px;
}
.mobile-nav a {
  background: none;
  font-family: 'Montserrat', 'Georgia', Times, serif;
  color: #28516B;
  font-size: 1.13em;
  line-height: 1.4;
  padding: 10px 12px;
  width: 100%;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #E6EBF0;
  color: #5D8F6F;
}
@media (max-width: 1024px) {
  header .container {
    gap: 8px;
  }
  header nav {
    gap: 8px;
  }
}
@media (max-width: 900px) {
  header nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* =======================
   5. FOOTER & COPYRIGHT
   ======================= */
footer {
  background: #fff;
  border-top: 1px solid #ECE9E6;
  padding: 36px 0 20px 0;
  margin-top: 60px;
  font-size: 0.98rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 6px;
}
footer nav a {
  color: #28516B;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #5D8F6F;
}
footer div:last-child {
  color: #78706F;
  font-size: 0.95em;
}
/* =======================
   6. MAIN SECTIONS & SPACING
   ======================= */
main {
  min-height: 50vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 12px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(40,81,107,0.055);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px 24px 22px;
  min-width: 250px;
  max-width: 360px;
  flex: 1 1 0px;
  display: flex;
  flex-direction: column;
}
.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;
}
/* =======================
   7. FEATURES, TESTIMONIALS, AND CARDS
   ======================= */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 1px 6px rgba(93,143,111,0.05);
  min-width: 220px;
  margin-bottom: 20px;
  border-left: 4px solid #5D8F6F;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFF;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 1.5px 16px rgba(40,81,107,0.09);
  min-width: 240px;
  margin-bottom: 20px;
  color: #20201F;
  border: 1.5px solid #ECE9E6;
}
.testimonial-card blockquote {
  background: none;
  border: none;
  color: #28516B;
  padding-left: 0;
}
.testimonial-card cite {
  font-size: 1rem;
  color: #5D8F6F;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  flex: 1 1 0;
}
.post-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 10px;
}
.post-preview-grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(93,143,111,0.05);
  padding: 22px 22px 18px 22px;
  flex: 1 1 270px;
  min-width: 250px;
  max-width: 320px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-preview-grid h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.post-preview-grid p {
  color: #28516B;
  font-size: 1em;
}
.post-preview-grid a {
  color: #5D8F6F;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 4px;
  text-decoration: underline;
  transition: color 0.17s;
}
.post-preview-grid a:hover, .post-preview-grid a:focus {
  color: #28516B;
}
/* =======================
   8. ICONS STYLING IN LISTS
   ======================= */
ul li img, .content-wrapper ul li img {
  vertical-align: middle;
  margin-right: 8px;
  width: 26px;
  height: 26px;
  display: inline-block;
}
ul li {
  margin-bottom: 10px;
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #28516B;
  font-size: 1em;
}
/* =======================
   9. BUTTONS, INPUTS, ANIMATIONS
   ======================= */
button, .cta-btn {
  transition: background 0.23s, box-shadow 0.28s, color 0.19s, transform 0.14s;
}
button:focus-visible, .cta-btn:focus-visible {
  outline: 2px solid #28516B;
  outline-offset: 3px;
}
input, textarea, select {
  padding: 10px 12px;
  border: 1.5px solid #BFD7DA;
  border-radius: 6px;
  background: #FCFAF7;
  font-size: 1em;
  margin-bottom: 16px;
  color: #222;
  font-family: inherit;
  width: 100%;
  transition: border 0.21s;
}
input:focus, textarea:focus, select:focus {
  border-color: #28516B;
  outline: none;
}
/* =======================
   10. COOKIE CONSENT BANNER & MODAL
   ======================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right:0;
  width: 100vw;
  z-index: 2150;
  background: #FFF;
  box-shadow: 0 -2px 18px rgba(40,81,107,0.12);
  border-top: 2.5px solid #28516B;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  font-size: 1rem;
  animation: cookie-fade-in 0.65s ease;
}
@keyframes cookie-fade-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #28516B;
  max-width: 520px;
}
.cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', 'Georgia', Times, serif;
  padding: 10px 22px;
  border: none;
  border-radius: 22px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  margin: 0 0 0 0;
  transition: background 0.18s, color 0.16s, box-shadow 0.22s;
}
.cookie-btn.accept {
  background: #5D8F6F;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #28516B;
}
.cookie-btn.reject {
  background: #FFF;
  color: #28516B;
  border: 1.5px solid #28516B;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #E6EBF0;
}
.cookie-btn.settings {
  background: #FFF;
  color: #5D8F6F;
  border: 1.5px solid #5D8F6F;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #E6F0E9;
}
.cookie-modal-overlay {
  position: fixed;
  z-index: 2200;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34, 42, 60, 0.47);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in-overlay 0.3s;
}
@keyframes fade-in-overlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(40,81,107,0.18);
  padding: 36px 34px 28px 34px;
  max-width: 430px;
  width: 90vw;
  font-size: 1rem;
  color: #28516B;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modal-fade-in 0.36s cubic-bezier(.7,.45,.18,1.1);
  position: relative;
}
@keyframes modal-fade-in {
  from { transform: translateY(40px) scale(0.95); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.32em;
  background: none;
  border: none;
  color: #28516B;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.1s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ECE9E6;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  background: #F4F3F0;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #5D8F6F;
}
.cookie-category.essential {
  opacity: 0.62;
}
.cookie-actions-modal {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
/* =======================
   11. RESPONSIVE QUERIES / MOBILE LAYOUT
   ======================= */
@media (max-width: 900px) {
  .container {
    max-width: 94vw;
    padding-right: 10px;
    padding-left: 10px;
  }
  section {
    padding: 34px 0;
  }
  .card {
    padding: 18px 12px 16px 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .container {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  .content-wrapper, .content-grid, .card-container, .post-preview-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .card, .testimonial-card, .feature-item, .post-preview-grid > div {
    min-width: 95vw;
    max-width: 99vw;
  }
  section, .section {
    padding: 30px 4vw 30px 4vw;
    margin-bottom: 48px;
  }
  header .container {
    min-height: 64px;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 18px 4vw 14px 4vw;
    gap: 10px;
    font-size: 0.98em;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  h1 {font-size: 1.35rem;}
  h2 {font-size: 1.1rem;}
  .cta-btn {padding: 11px 12px; font-size: 0.98rem;}
  .mobile-nav { padding: 24px 10px; }
  .cookie-modal {padding: 18px 9vw 16px 9vw;max-width:98vw;}
}
/* =======================
   12. MISC: TABLES, Z-INDEX, UTILITY
   ======================= */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  margin-bottom: 32px;
}
td, th {
  border: 1px solid #ECE9E6;
  padding: 14px 10px;
  text-align: left;
}
th {
  background: #E6EBF0;
  color: #28516B;
  font-family: 'Montserrat', 'Georgia', Times, serif;
  font-weight: 700;
}
tr:nth-child(even) {
  background: #FCFAF7;
}
::-webkit-scrollbar {
  width: 9px; background: #ECE9E6;
}
::-webkit-scrollbar-thumb {
  background: #C7D8DD; border-radius: 16px;
}
::-webkit-selection {
  background: #5D8F6F; color: #fff;
}
::selection {
  background: #5D8F6F; color: #fff;
}
/* =======================
  13. ACCESSIBILITY
   ======================= */
[tabindex]:focus-visible, a:focus-visible {
  outline: 2.5px solid #5D8F6F;
  outline-offset: 2.5px;
}
/* =======================
  14. ELEGANT MICRO-INTERACTIONS
   ======================= */
a, .cta-btn, button, .cookie-btn {
  transition: color 0.15s, background 0.13s, box-shadow 0.25s, transform 0.11s;
}
.animated-link {
  position: relative;
  color: inherit;
  text-decoration: none;
}
.animated-link::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; bottom: -2.5px;
  height: 2px; width: 100%;
  background: #5D8F6F;
  transition: width 0.2s;
  width: 0;
}
.animated-link:hover::after, .animated-link:focus::after {
  width: 100%;
}
/* =======================
  15. PRINT STYLES
   ======================= */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  main { padding: 0; margin: 0; }
  section, .container, .content-wrapper { padding: 0 !important; margin: 0 !important; }
}
