/* ---- CSS RESET & BASE ---- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #F3F7FA 0%, #FFFFFF 100%);
  color: #1A4974;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  transition: background 0.6s;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  vertical-align: middle;
}
a {
  color: #1A4974;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #29A588;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  line-height: 1.2;
  color: #1A4974;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
}
h3 {
  font-size: 1.375rem;
  font-weight: 500;
}
.subheadline {
  color: #188463;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  margin-bottom: 24px;
}
p {
  font-size: 1rem;
  margin-bottom: 1em;
}
strong {
  font-weight: 600;
}

/* ---- CONTAINERS & LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* ---- FLEXBOX PATTERNS ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(26,73,116,0.07);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(41,165,136,0.14);
  transform: translateY(-4px) scale(1.01);
}
.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;
  border-radius: 16px;
  background: #f3f7fa;
  box-shadow: 0 1px 8px 0 rgba(26,73,116,0.04);
  margin-bottom: 20px;
  color: #1A4974;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.features-grid > div, .features-grid > li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(41,165,136,0.07);
  padding: 22px 20px;
  flex: 1 1 260px;
  min-width: 225px;
  max-width: 275px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.services-list > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(41,165,136,0.07);
  padding: 22px 20px;
  flex: 1 1 325px;
  min-width: 260px;
  max-width: 380px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 16px;
  align-items: flex-start;
  list-style: none;
  padding: 0;
}
.stats-grid li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px 0 rgba(26,73,116,0.06);
  min-width: 160px;
  padding: 20px 28px;
  text-align: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
}
.stepper-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
.stepper-list li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(26,73,116,0.06);
  padding: 18px 25px;
  min-width: 190px;
  display: flex;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.stepper-list li span {
  display: inline-block;
  background: #29A588;
  color: #fff;
  margin-right: 14px;
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(41,165,136,0.07);
  padding: 20px 24px;
  margin-bottom: 10px;
}
.contact-details ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.map-placeholder {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  background: #f3f7fa;
  border-radius: 16px;
  min-height: 180px;
  margin-top: 14px;
}

/* --- STAR RATING --- */
.star-rating {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
}
.star-rating img {
  width: 26px;
  height: 26px;
  display: inline-block;
  vertical-align: middle;
}
.star-rating span {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1A4974;
}

/* ---- HEADER & NAVIGATION ---- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(26,73,116,0.05);
  position: sticky;
  top: 0;
  z-index: 110;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  position: relative;
}
header img {
  height: 44px;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #1A4974;
  padding: 10px 9px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F3F7FA;
  color: #29A588;
}
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  text-align: center;
  border-radius: 24px;
  padding: 12px 30px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(41,165,136,0.09);
  transition: background 0.2s, color 0.22s, box-shadow 0.22s, transform 0.18s;
}
.btn-primary {
  background: linear-gradient(90deg, #1A4974 60%, #29A588 100%);
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, #188463 0%, #1A4974 100%);
  color: #fff;
  box-shadow: 0 8px 28px 0 rgba(41,165,136,0.16);
  transform: translateY(-2px) scale(1.012);
}
.btn-secondary {
  background: linear-gradient(90deg, #F3F7FA 30%, #c8e3db 100%);
  color: #1A4974;
  border: 2px solid #29A588;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #29A588;
  color: #fff;
  box-shadow: 0 6px 22px 0 rgba(26,73,116,0.10);
}

/* ---- MOBILE NAV & MENU ---- */
.mobile-menu-toggle {
  display: none;
  background: #29A588;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 20px;
  transition: background 0.25s, color 0.15s, box-shadow 0.2s;
  z-index: 121;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #188463;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  right: -100vw;
  width: 92vw;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 22px 0 rgba(26,73,116,0.12);
  padding: 30px 24px 0 24px;
  z-index: 130;
  transition: transform 0.33s cubic-bezier(.59,.12,.62,1.13);
  transform: translateX(100vw);
}
.mobile-menu.open {
  transform: translateX(0);
  right: 0;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #29A588;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover {
  color: #188463;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.mobile-nav a {
  padding: 13px 0;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1A4974;
  border-bottom: 1px solid #f3f7fa;
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #29A588;
  background: #f3f7fa;
}

/* ---- FOOTER ---- */
footer {
  background: linear-gradient(90deg, #F3F7FA 10%, #E7EEE9 90%);
  color: #1A4974;
  padding: 50px 0 24px 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 13px;
  align-items: center;
  justify-content: flex-start;
}
.footer-links a {
  color: #1A4974;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color 0.22s;
}
.footer-links a:hover {
  color: #29A588;
}
.footer-contact p {
  margin-bottom: 5px;
  font-size: 1rem;
}
.footer-contact a {
  color: #188463;
  word-break: break-all;
}
.smallprint {
  margin-top: 12px;
  font-size: .92rem;
  color: #5c748b;
}

/* ---- RESPONSIVENESS ---- */
@media (max-width: 1099px) {
  .features-grid > div, .features-grid > li,
  .services-list > div {
    flex: 1 1 50%;
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    max-width: 100%;
    padding: 0 10px;
  }
  .section {
    padding: 28px 7px;
    margin-bottom: 36px;
  }
  header .container {
    flex-direction: row;
    height: 64px;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    padding: 10px 20px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .card-container, .content-grid, .services-list, .features-grid, .stats-grid, .stepper-list {
    flex-direction: column;
    gap: 18px;
  }
  .features-grid > div, .services-list > div {
    min-width: 90vw;
    max-width: 99vw;
    padding: 18px 7px;
  }
  .stats-grid li {
    min-width: 88vw;
    padding: 12px 4vw;
    font-size: 1.1rem;
  }
  .testimonial-card {
    padding: 13px 9px;
    font-size: 1rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-links {
    flex-direction: column;
    gap: 8px;
    font-size: .99rem;
  }
  .footer-contact {
    font-size: 0.97rem;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.10rem;
  }
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #1A4974 40%, #29A588 100%);
  color: #fff;
  box-shadow: 0 -2px 18px 0 rgba(41,165,136,0.05);
  padding: 26px 20px 18px 20px;
  z-index: 1400;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 1.03rem;
  animation: slideUp 0.6s cubic-bezier(.5,.7,.5,1) both;
}
@keyframes slideUp {
  0% { transform: translateY(120%); }
  100% { transform: translateY(0); }
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}
.cookie-btn {
  min-width: 120px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-align: center;
  font-size: 1.04rem;
  padding: 9px 18px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  margin: 0;
  outline: none;
  transition: background 0.19s, color 0.13s, box-shadow 0.17s, transform 0.15s;
  box-shadow: 0 2px 6px 0 rgba(41,165,136,0.13);
}
.cookie-btn.accept {
  background: #29A588;
  color: #fff;
}
.cookie-btn.accept:hover {
  background: #1A4974;
}
.cookie-btn.reject {
  background: #fff;
  color: #1A4974;
  border: 1px solid #29A588;
}
.cookie-btn.reject:hover {
  background: #c8e3db;
  color: #188463;
}
.cookie-btn.settings {
  background: #F3F7FA;
  color: #188463;
  border: 1px solid #1A4974;
}
.cookie-btn.settings:hover {
  background: #dbeff1;
  color: #1A4974;
}

/* ---- COOKIE MODAL ---- */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1450;
  background: rgba(31, 60, 90, 0.54);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeinBg 0.3s;
}
@keyframes fadeinBg {
  from { background: rgba(31,60,90,0); }
  to { background: rgba(31,60,90,0.54); }
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 480px;
  width: 90vw;
  box-shadow: 0 10px 40px 0 rgba(26,73,116,0.19);
  padding: 38px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideIn 0.3s cubic-bezier(.61,.29,.53,1.18);
}
@keyframes slideIn {
  0% { transform: translateY(54px) scale(.97); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: #1A4974;
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
  font-size: 1.04rem;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #29A588;
  width: 22px; height: 22px;
}
.cookie-modal-category.essential {
  opacity: 0.64;
  pointer-events: none;
}
.cookie-modal-btns {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #29A588;
  font-size: 1.9rem;
  margin-left: auto;
  margin-right: -6px;
  cursor: pointer;
  transition: color 0.16s;
  position: absolute;
  right: 22px;
  top: 18px;
}
.cookie-modal-close:hover {
  color: #188463;
}

/* ---- MICRO-INTERACTIONS & ANIMATION ---- */
.card, .faq-item, .testimonial-card, .features-grid > div,
.services-list > div, .stats-grid li, .stepper-list li {
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover, .faq-item:hover, .testimonial-card:hover, .features-grid > div:hover,
.services-list > div:hover, .stats-grid li:hover, .stepper-list li:hover {
  box-shadow: 0 8px 36px 0 rgba(41,165,136,0.09);
  transform: translateY(-3px) scale(1.014);
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.98);
}

/* ---- ACCESSIBILITY ---- */
:focus {
  outline: 2px solid #29A588;
  outline-offset: 1px;
}

/* ---- UTILITY CLASSES ---- */
.hide-mobile {
  display: block;
}
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}
.hide-desktop {
  display: none;
}
@media (max-width: 768px) {
  .hide-desktop {
    display: block !important;
  }
}

/* ---- SPECIAL CLASSES ---- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ---- FORMATTING FIXES ---- */
li {
  margin-bottom: 8px;
}

/* ---- MISC ---- */
hr {
  border: none;
  border-top: 1px solid #e2eaee;
  margin: 18px 0;
}

/* ---- Z-INDEX LAYERING ---- */
header {
  z-index: 110;
}
.mobile-menu {
  z-index: 130;
}
.cookie-consent-banner {
  z-index: 1400;
}
.cookie-modal-overlay {
  z-index: 1450;
}

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