/* ==========================
   RESET & BASE STYLES
   ========================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  background: #fff;
  color: #222;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #09537F;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #259D5A;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
/* ==========================
   TYPOGRAPHY
   ========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #09537F;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 22px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.13rem;
  font-weight: 600;
}
.subheadline {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 22px;
  font-weight: 400;
}
.text-section {
  margin-bottom: 24px;
}
p, li {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
/* ==========================
   LAYOUT CONTAINERS
   ========================== */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(9,83,127,0.04), 0 1.5px 4px rgba(0,0,0,0.02);
  padding: 24px 24px 18px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover,
.card:focus-within {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 6px 18px rgba(9,83,127,0.09), 0 6px 18px rgba(0,0,0,0.05);
}
.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 18px 18px 22px;
  background: #f9fafb;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(9,83,127,0.06);
  margin-bottom: 20px;
  max-width: 480px;
}
.testimonial-card em {
  color: #09537f;
  font-size: 1.08rem;
}
.testimonial-card strong {
  color: #259D5A;
  font-size: 1rem;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e4e8ec;
  padding: 32px 20px 10px 20px;
  background: #fff;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.footer-nav a {
  color: #777;
  font-size: 1rem;
  transition: color 0.19s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #09537F;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 20px 24px 20px;
  background: #fafbfc;
  font-size: 0.95rem;
  color: #bbb;
}
.copyright {
  text-align: center;
}
/* ==========================
   NAVIGATION
   ========================== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 20px 22px 20px;
  background: #fff;
  width: 100%;
  z-index: 80;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #09537F;
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 12px;
  border-radius: 6px;
  transition: background 0.16s, color 0.18s;
}
.main-nav a.cta {
  background: #259D5A;
  color: #fff;
  border-radius: 24px;
  padding: 9px 22px;
  font-size: 1.02rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(37,157,90,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
}
.main-nav a.cta:hover,
.main-nav a.cta:focus {
  background: #09537f;
  color: #FFE15A;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 5px 16px rgba(9,83,127,0.09);
}
.main-nav a:hover,
.main-nav a:focus {
  color: #259D5A;
  background: #f4fafd;
}
.main-nav img {
  width: 42px;
  height: auto;
  margin-right: 6px;
}
header {
  box-shadow: 0 0.5px 0 #e2e8f0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ==========================
   MOBILE NAVIGATION
   ========================== */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  margin-left: auto;
  color: #09537F;
  padding: 6px 12px;
  z-index: 201;
  transition: color 0.12s;
  border-radius: 8px;
}
.mobile-menu-toggle:focus {
  outline: 2px dotted #259D5A;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 80px rgba(9,83,127,0.18);
  z-index: 200;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 30px;
  padding-left: 0;
  transform: translateX(100%);
  transition: transform 0.26s cubic-bezier(.47,1.64,.41,.8);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.16rem;
  color: #09537F;
  padding: 12px 16px 12px 14px;
  margin-left: auto;
  cursor: pointer;
  transition: color 0.17s;
  border-radius: 8px;
  align-self: flex-end;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #259D5A;
  background: #f4fafd;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 22px;
  padding: 0 36px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #09537F;
  font-weight: 500;
  font-size: 1.07rem;
  padding: 13px 0 13px 8px;
  border-radius: 6px;
  transition: background 0.14s, color 0.13s;
  display: block;
  min-width: 196px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #f4fafd;
  color: #259D5A;
}
/* Hamburger visible on mobile, nav hides */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
  }
}
@media (min-width: 981px) {
  .mobile-menu,
  .mobile-menu.open,
  .mobile-menu-close,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ==========================
   HERO & GENERAL SECTIONS
   ========================== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
/* Overridable with .section if present */
section .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.cta {
  background: #259D5A;
  color: #fff;
  border-radius: 24px;
  padding: 11px 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37,157,90,0.10);
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
  text-align: center;
  outline: none;
  text-decoration: none;
  margin-top: 5px;
}
.cta:hover,
.cta:focus {
  background: #09537f;
  color: #FFE15A;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 7px 24px rgba(9,83,127,0.10);
}

/* ==========================
   LISTS & FEATURES
   ========================== */
ul, ol {
  padding-left: 0;
}
ul > li,
ol > li {
  padding: 16px 0 16px 0;
  border-bottom: 1px solid #f0f4f7;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-height: 36px;
}
ul > li:last-child {
  border-bottom: none;
}
ul > li img {
  width: 32px;
  height: 32px;
  margin-right: 6px;
  align-self: flex-start;
}

/* ==========================
   CARD & GRID VISUALS
   ========================== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 10px 0 12px 0;
}
/* ==========================
   LINKS & INTERACTIONS
   ========================== */
button,
input[type="button"],
input[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  cursor: pointer;
  border: none;
  border-radius: 22px;
  font-size: 1rem;
  background: #259D5A;
  color: #fff;
  box-shadow: 0 2px 7px rgba(37,157,90,0.07);
  padding: 10px 26px;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s, transform 0.13s;
}
button:hover,
button:focus,
input[type="button"]:hover,
input[type="submit"]:hover {
  background: #09537f;
  color: #FFE15A;
  box-shadow: 0 7px 18px rgba(9,83,127,0.10);
  transform: translateY(-2px) scale(1.035);
}

/* ==========================
   RESPONSIVE DESIGN
   ========================== */
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.35rem;
    margin-bottom: 18px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .section,
  section {
    padding: 24px 2px;
    margin-bottom: 36px;
  }
  .card,
  .testimonial-card {
    padding: 15px 10px 14px 12px;
    max-width: 99vw;
  }
  .card-container {
    gap: 11px;
    flex-direction: column;
  }
  .content-grid {
    flex-direction: column;
    gap: 11px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 10px 8px 10px;
  }
  .footer-nav {
    gap: 10px;
  }
  .footer-bottom {
    padding: 14px 10px 12px 10px;
    font-size: 0.89rem;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.05rem; }
  .cta, .main-nav a.cta, button {
    font-size: 1rem;
    padding: 8px 12px;
  }
}

/* ==========================
   SECTION COLORS/BORDERS
   ========================== */
section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 26px rgba(20,40,110,0.05);
}

/* ==========================
   MICROS & TRANSITIONS
   ========================== */
.card, .testimonial-card, .cta, button {
  transition: box-shadow .18s, transform .14s, background .16s, color .16s;
}
ul > li img {
  transition: filter 0.16s;
}
ul > li:hover img {
  filter: saturate(1.4) brightness(1.1) drop-shadow(0 2px 4px #259D5a44);
}
::-webkit-scrollbar {
  width: 11px;
  background: #f9f9fa;
}
::-webkit-scrollbar-thumb {
  background: #e2e6ea;
  border-radius: 6px;
}

/* ==========================
   COOKIE BANNER
   ========================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 24px rgba(9,83,127,0.15);
  border-top: 1px solid #e2e8f0;
  padding: 21px 20px 21px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  z-index: 9999;
  animation: slideup-cookie .53s cubic-bezier(0.47,1.65,0.41,0.8);
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 7px;
}
.cookie-banner button, .cookie-banner .cookie-preferences-btn {
  background: #259D5A;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 7px 22px;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.17s, color 0.13s, box-shadow 0.16s, transform 0.13s;
  box-shadow: 0 2px 9px rgba(37,157,90,0.08);
}
.cookie-banner .cookie-preferences-btn {
  background: #FFE15A;
  color: #09537F;
}
.cookie-banner button:hover, .cookie-banner .cookie-preferences-btn:hover,
.cookie-banner button:focus {
  background: #09537F;
  color: #FFE15A;
}
@keyframes slideup-cookie {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(19,35,64,0.12);
  z-index: 10500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein-modal .19s cubic-bezier(0.47,1.65,0.51,0.98);
}
.cookie-modal {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 32px rgba(9,83,127,0.12), 0 2px 16px #09537f18;
  padding: 32px 20px 27px 24px;
  max-width: 390px;
  width: 96vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
  animation: slidein-modal 0.23s cubic-bezier(0.47,1.65,0.51,0.98);
}
@keyframes fadein-modal {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slidein-modal {
  from { transform: translateY(38px) scale(0.96); }
  to { transform: translateY(0) scale(1); }
}
.cookie-modal h3 {
  color: #09537F;
  font-size: 1.25rem;
  margin-bottom: 14px;
  margin-top: 0;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 9px;
  font-size: 1.04rem;
}
.cookie-modal-category input[type="checkbox"]:disabled + label {
  color: #bbb;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 7px;
}
.cookie-modal button {
  min-width: 120px;
}
.cookie-modal .close-modal-btn {
  background: none;
  color: #09537F;
  font-size: 1.75rem;
  border: none;
  position: absolute;
  top: 10px;
  right: 17px;
  cursor: pointer;
  padding: 2px 9px;
  transition: color .14s;
}
.cookie-modal .close-modal-btn:hover,
.cookie-modal .close-modal-btn:focus {
  color: #259D5A;
}

/* ==========================
   ACCESSIBILITY & UTILITY
   ========================== */
@media (max-width: 480px) {
  .cookie-modal {
    padding: 14px 6px 18px 9px;
    max-width: 98vw;
  }
  .cookie-modal h3 { font-size: 1.12rem; }
}
[hidden] { display: none !important; }
:focus {
  outline: 2px solid #259D5A;
  outline-offset: 2px;
}

/* ==========================
   PRINT OVERRIDES
   ========================== */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay, .mobile-menu { display: none !important; }
  main, section, .container { box-shadow: none !important; background: #fff !important; }
}
