/* =======================
   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, 
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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #1B3556;
  background: #F6F7F8;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #1B3556;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #609DA5;
  outline: none;
  text-decoration: underline;
}
ul,ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
b, strong {
  font-weight: bold;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1B3556;
  font-weight: 700;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.13rem;
}
p {
  margin-bottom: 16px;
  color: #223c59;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(27,53,86,0.05);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* =========================
   HEADER/NAVIGATION
   ========================= */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(27,53,86,0.05);
  position: sticky;
  top: 0;
  z-index: 2000;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 18px;
  height: 74px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.logo img {
  max-height: 44px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
  transition: color 0.18s;
  letter-spacing: 0.01em;
}
.main-nav a.cta.primary {
  margin-left: 14px;
  background: #1B3556;
  color: #fff;
  border-radius: 8px;
  padding: 10px 28px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(27,53,86,0.11);
  transition: background 0.17s,color 0.17s,box-shadow 0.23s;
}
.main-nav a.cta.primary:hover,
.main-nav a.cta.primary:focus {
  background: #609DA5;
  color: #fff;
  box-shadow: 0 8px 24px rgba(96,157,165,0.15);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  line-height: 1;
  color: #1B3556;
  cursor: pointer;
  margin-left: 16px;
  padding: 4px 4px 2px 4px;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F6F7F8;
}

/* --------
   MOBILE NAVIGATION
   -------- */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 0;
  background: rgba(27,53,86,0.95);
  z-index: 4000;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0%);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 18px 8px 0;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 6px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #223c59;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 30px;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: #fff;
  padding: 12px 4px 12px 0;
  border-radius: 5px;
  transition: background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,255,255,0.07);
  color: #609DA5;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav a {
    font-size: 0.98rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .header-content {
    height: 62px;
    padding: 0 8px;
  }
}

/* =====================
   HERO/HIGHLIGHT SECTIONS
   ===================== */
.hero {
  background: linear-gradient(120deg, #609DA5 0%, #F6F7F8 100%);
  padding: 70px 0 48px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  gap: 18px;
}
.hero h1 {
  font-size: 2.2rem;
  color: #1B3556;
  margin-bottom: 14px;
}
.hero p {
  font-size: 1.15rem;
  color: #223c59;
}
.hero .cta.primary {
  margin-top: 22px;
}

/* CTA Section
––––––––––––––––––––--*/
.cta {
  background: #1B3556;
  color: #fff;
  border-radius: 10px;
  margin-bottom: 60px;
  padding: 44px 20px;
  box-shadow: 0 2px 10px rgba(27,53,86,0.07);
}
.cta .content-wrapper {
  text-align: center;
  gap: 16px;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .cta.primary {
  margin-top: 20px;
}

.cta-contact {
  background: #609DA5;
  color: #fff;
  border-radius: 12px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.cta-contact h2, .cta-contact p {
  color: #fff;
}
.cta-contact .cta.primary {
  margin-top: 18px;
}

/* ===================
   FEATURE GRID, CARDS
   =================== */
.features {
  background: #fff;
}
.features h2 {
  font-size: 2rem;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 32px 0 24px 0;
  padding: 0;
  list-style: none;
  justify-content: space-between;
}
.feature-grid li {
  background: #F6F7F8;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(27,53,86,0.07);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 22px 22px 16px 22px;
  transition: box-shadow 0.21s,background 0.28s;
  margin-bottom: 20px; /* mandatory spacing */
}
.feature-grid li:hover, .feature-grid li:focus {
  background: #e7edef;
  box-shadow: 0 10px 28px rgba(27,53,86,0.1);
}
.feature-grid li img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
.feature-icons {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 22px 0 16px 0;
}

.benefits {
  background: #F6F7F8;
}
.benefits ul {
  margin-top: 12px;
  margin-bottom: 0;
  padding-left: 18px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(27,53,86,0.06);
  padding: 26px 22px 22px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 280px;
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 26px rgba(96,157,165,0.13);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ========================
   TESTIMONIALS & OUTCOMES
   ======================== */
.testimonials {
  background: #F6F7F8;
  padding-top: 50px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(27,53,86,0.10);
  margin-bottom: 24px;
  border-left: 6px solid #609DA5;
  color: #1B3556;
  font-size: 1.08rem;
  transition: box-shadow 0.16s, border-color 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 32px rgba(96,157,165,0.11);
  border-left: 6px solid #1B3556;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #1B3556;
}
.testimonial-card span {
  font-size: 1rem;
  color: #223c59;
}

.outcomes {
  background: #fff;
}

/* ========================
   FAQ SECTION & LISTS
   ======================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}
.faq-list h3 {
  color: #1B3556;
  margin-bottom: 5px;
}
.faq-list p {
  color: #223c59;
  margin-bottom: 9px;
}

.contact-details {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-details img {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  vertical-align: middle;
  display: inline-block;
}

/* ============
   BUTTONS & CTA
   ============ */
.cta.primary, .cta.secondary, .btn, button, input[type="submit"], input[type="button"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  background: #1B3556;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(27,53,86,0.11);
  transition: background 0.21s, color 0.16s, box-shadow 0.21s;
}
.cta.primary:hover, .cta.primary:focus, .btn:hover, .btn:focus {
  background: #609DA5;
  color: #fff;
  box-shadow: 0 8px 26px rgba(96,157,165,0.15);
}
.cta.secondary {
  background: #609DA5;
  color: #fff;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #1B3556;
}
button:disabled, input[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* =======================
   FOOTER
   ======================= */
footer {
  background: #1B3556;
  color: #fff;
  padding: 0;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 0;
}
.footer-main > a img {
  max-height: 40px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #c7d6e3;
  font-size: 0.98rem;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact p, .footer-contact a {
  color: #c7d6e3;
  font-size: 0.97rem;
  margin-bottom: 6px;
  word-break: break-word;
}
.footer-contact a {
  text-decoration: underline;
}
@media (max-width: 850px) {
  .footer-main {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ================
   LEGAL/STATIC SECTIONS
   ================ */
.legal {
  background: #fff;
  border-radius: 10px;
  padding: 44px 20px;
  margin-bottom: 40px;
  box-shadow: 0 2px 12px rgba(27,53,86,0.06);
}
.legal h1 {
  font-size: 2.1rem;
}
.legal h2 {
  font-size: 1.35rem;
  margin-top: 18px;
  margin-bottom: 11px;
}
.legal h3 {
  font-size: 1.05rem;
  margin-top: 14px;
  margin-bottom: 5px;
}
.legal p, .legal ul, .legal li {
  color: #223c59;
  font-size: 1rem;
}
.legal a {
  color: #609DA5;
  text-decoration: underline;
}

/* ================
   THANK YOU PAGE
   ================ */
.thank-you {
  background: #fff;
  border-radius: 10px;
  padding: 60px 28px 60px 28px;
  text-align: center;
  margin-bottom: 44px;
  box-shadow: 0 2px 12px rgba(27,53,86,0.06);
}
.thank-you p a {
  color: #609DA5;
}

/* ================
   MISC & UTILS
   ================ */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

::-webkit-input-placeholder { color: #a7b2c5; opacity:1; }
::-moz-placeholder { color: #a7b2c5; opacity:1; }
:-ms-input-placeholder { color: #a7b2c5; opacity:1; }
::placeholder { color: #a7b2c5; opacity:1; }

/* Animate transitions for nav/menu/modal/cookie */
.transition {
  transition: all 0.26s cubic-bezier(0.68,-0.55,0.27,1.55);
}

/* ============
   COOKIE CONSENT BANNER
   ============ */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  padding: 30px 15px 24px 15px;
  background: #fff;
  border-top: 2px solid #609DA5;
  box-shadow: 0 -3px 32px rgba(27,53,86,0.13);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  color: #1B3556;
  animation: slideup 0.48s;
}
.cookie-consent-banner.hide {
  display: none;
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  padding: 10px 26px;
  margin: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, box-shadow 0.18s;
}
.cookie-consent-banner .accept {
  background: #1B3556;
  color: #fff;
}
.cookie-consent-banner .accept:hover, .cookie-consent-banner .accept:focus {
  background: #609DA5;
  color: #fff;
}
.cookie-consent-banner .settings {
  background: #F6F7F8;
  color: #1B3556;
}
.cookie-consent-banner .settings:hover, .cookie-consent-banner .settings:focus {
  background: #609DA5;
  color: #fff;
}
.cookie-consent-banner .reject {
  background: #eee;
  color: #1B3556;
}
.cookie-consent-banner .reject:hover, .cookie-consent-banner .reject:focus {
  background: #d0d9df;
  color: #223c59;
}
@keyframes slideup {
  from { transform: translateY(80px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  left:0; right:0; top:0; bottom:0;
  background:rgba(27,53,86,0.60);
  z-index:5100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  width: 90vw;
  max-width: 410px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 38px rgba(27,53,86,0.18);
  padding: 36px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
  animation: slideup-modal 0.38s;
}
@keyframes slideup-modal {
  from { transform: translateY(80px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-modal h2 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  color: #1B3556;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cookie-modal-category label {
  color: #1B3556;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.cookie-modal-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #609DA5;
}
.cookie-modal-category .desc {
  color: #223c59;
  font-size: 13px;
  margin-left: 6px;
}
.cookie-modal-essent {
  color: #5a7288;
  font-size: 13px;
  font-style: italic;
  margin-left: 2px;
}
.cookie-modal-actions {
  margin-top: 11px;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-modal .save {
  background: #1B3556;
  color: #fff;
}
.cookie-modal .save:hover, .cookie-modal .save:focus {
  background: #609DA5;
}
.cookie-modal .close {
  background: #eee;
  color: #1B3556;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  background: #d0d9df;
}

/* ============
   MEDIA QUERIES: RESPONSIVE
   ============ */
@media (max-width: 1000px) {
  html { font-size: 98%; }
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 850px) {
  .feature-grid, .card-container, .content-grid {
    gap: 16px;
  }
  .footer-main {
    gap: 18px;
  }
}
@media (max-width: 800px) {
  .hero {
    padding-top: 44px;
    padding-bottom: 32px;
  }
  .footer-main {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 650px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.36rem; }
  .hero .content-wrapper { padding: 0 4px; }
  .section, .legal, .thank-you, .cta, .cta-contact {
    padding: 28px 8px 28px 8px;
  }
  .card, .testimonial-card { padding: 16px 9px 15px 14px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.08rem; }
  body { font-size: 14px; }
  .mobile-menu {
    padding-left: 0px;
  }
}

/*
=========
ACCESSIBILITY
=========
*/
:focus {
  outline: 2px solid #609DA5;
  outline-offset: 2px;
}
@media (hover: hover) and (pointer: fine) {
  a, button, .cta {
    transition: box-shadow 0.18s, background 0.20s, color 0.16s;
  }
  .feature-grid li, .card, .testimonial-card {
    transition: box-shadow 0.18s, background 0.18s, border-color 0.16s;
  }
}

/*
=============
HELPER CLASSES
=============
*/
.hide { display: none !important; }
.flex { display: flex !important; }
.flex-center { justify-content: center; align-items: center; }
.flex-col { flex-direction: column; }
.gap-20 { gap: 20px; }

/*
==================
MANDATORY SPACING/SPECIFIC CLASSES
==================
*/
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

