/* =========================================================
   CSS RESET & BASE NORMALIZATION
   ========================================================= */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background-color: #F6E8EA;
  color: #233047;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
img, picture, video {
  max-width: 100%; height: auto; display: block;
  border: none;
}
a {
  color: #227C9D;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #2E4057;
  text-decoration: underline;
}

/* ===============================
   TYPOGRAPHY
   =============================== */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #2E4057;
  line-height: 1.15;
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #227C9D;
  line-height: 1.22;
  margin-bottom: 14px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #2E4057;
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.10rem;
  font-weight: 600;
  color: #227C9D;
}
p, li {
  font-size: 1rem;
  color: #344252;
}
strong, b {
  font-weight: 700;
  color: #2E4057;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
.section ul, .section ol {
  margin-top: 8px;
}

/* ===============================
   CONTAINER & STRUCTURE
   =============================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  max-width: 640px;
  margin: 0 auto;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(46,64,87,0.02);
}
@media (max-width: 900px) {
  .container {max-width: 97vw;}
}
@media (max-width: 600px) {
  .container {padding: 0 8px;}
}

/* ===============================
   FLEXBOX SPACING UTILITIES
   =============================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(34,124,157,0.08);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 260px;
  max-width: 100%;
  transition: box-shadow 0.2s, transform 0.22s;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 16px 0 rgba(46,64,87,0.18);
  transform: translateY(-2px) 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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* Testimonials always on white, strong contrast */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(46,64,87,0.10);
  padding: 20px 28px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
  color: #233047;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #233047;
  text-align: center;
}
.testimonial-meta {
  font-size: 0.97rem;
  color: #227C9D;
  font-weight: 600;
  letter-spacing: .01em;
  text-align: right;
  width: 100%;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ===============================
   HEADER
   =============================== */
header {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 12px 0 rgba(46,64,87,0.04);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1002;
  transition: box-shadow 0.2s;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 18px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.main-nav a {
  color: #227C9D;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 2px;
  border-radius: 4px;
  transition: color 0.18s, background 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #2E4057;
  background: #f2f5f7;
}
.cta-btn.primary {
  background: #227C9D;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  padding: 12px 26px;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(34,124,157,0.10);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.22s, transform 0.18s;
  margin-left: 8px;
  outline: none;
  display: inline-block;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #2E4057;
  box-shadow: 0 4px 18px rgba(46,64,87,0.13);
  transform: translateY(-1px) scale(1.02);
}
.cta-btn.secondary {
  background: #fff;
  color: #227C9D;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: 1.5px solid #227C9D;
  padding: 12px 24px;
  border-radius: 24px;
  margin-top: 12px;
  transition: background 0.17s, color 0.18s, box-shadow 0.14s;
  box-shadow: 0 1px 4px rgba(34,124,157,0.08);
  cursor: pointer;
  display: inline-block;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #227C9D;
  color: #fff;
  box-shadow: 0 2px 10px rgba(34,124,157,0.14);
}
.cta-btn.tertiary {
  background: #fff;
  color: #2E4057;
  font-weight: 600;
  border: 1.5px solid #2E4057;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 22px;
  padding: 12px 24px;
  margin-top: 8px;
  transition: background 0.19s, color 0.18s;
  cursor: pointer;
}
.cta-btn.tertiary:hover, .cta-btn.tertiary:focus {
  background: #2E4057;
  color: #fff;
}

/* ===============================
   MOBILE NAVIGATION
   =============================== */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #227C9D;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  padding: 5px 13px;
  line-height: 1;
  border-radius: 6px;
  transition: background 0.15s;
  outline: none;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #eaf6fc;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 93vw;
  max-width: 360px;
  background: #fff;
  box-shadow: -4px 0 32px 2px rgba(34,124,157,0.13);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.66,-0.01,.18,1.11);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px 22px 22px 22px;
  gap: 25px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0%);
  box-shadow: -6px 0 32px 2px rgba(34,124,157,0.23);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #2E4057;
  font-size: 2rem;
  cursor: pointer;
  align-self: flex-end;
  line-height: 1;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #227C9D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  color: #227C9D;
  font-size: 1.15rem;
  padding: 12px 6px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 8px;
  transition: background 0.18s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #eaf6fc;
  color: #2E4057;
}

/* Hide desktop nav, show burger icon on mobile */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn.primary {
    padding: 10px 16px;
    font-size: 0.98rem;
    margin-left: 3px;
  }
}
@media (max-width: 600px) {
  header .container {
    gap: 10px;
    min-height: 50px;
  }
  .logo img {height: 36px;}
}
/* Overlay background when menu is open */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(46,64,87,0.38);
  z-index: 1999;
}
.mobile-menu.open + .mobile-menu-overlay {
  display: block;
}

/* ===============================
   FOOTER
   =============================== */
footer {
  background: #2E4057;
  color: #fff;
  padding: 40px 0 20px 0;
  width: 100%;
  box-shadow: 0 -2px 12px rgba(34,124,157,0.03);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-logo img {
  height: 40px; width: auto;
  display: block;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #F6E8EA;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  opacity: 0.92;
  transition: color 0.18s;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.95rem;
  color: #e8ddee;
  align-self: center;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
  .footer-logo { margin-bottom: 10px; }
}

/* ===============================
   SECTIONS: HERO, FEATURES, ETC.
   =============================== */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
}
section > .container {
  width: 100%;
}
@media (max-width: 600px) {
  section {
    padding: 22px 0;
    margin-bottom: 34px;
  }
}

/* ===============================
   FOR CARDS, PREVIEW LISTS, & CONTENT
   =============================== */
ul {
  list-style: disc inside;
}
ul > li {
  padding-left: 0.5em;
  margin-bottom: 8px;
}
ul ul, ol ul {
  list-style-type: circle;
}

/* ===============================
   BUTTONS GENERAL
   =============================== */
button, .cta-btn {
  outline: none;
}
button:focus, .cta-btn:focus {
  box-shadow: 0 0 0 2px #227C9D40;
}

/* ===============================
   RESPONSIVE ADJUSTMENTS
   =============================== */
@media (max-width: 900px) {
  .card-container, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 600px) {
  .card, .testimonial-card {
    padding: 18px 12px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .feature-item {
    gap: 8px;
  }
  h1, .h1 {font-size: 1.5rem;}
  h2, .h2 {font-size: 1.12rem;}
}

/* ===============================
   MICROY-INTERACTIONS & HOVER FX
   =============================== */
.card, .testimonial-card, .cta-btn, .main-nav a, .footer-nav a {
  transition: box-shadow 0.18s, background 0.18s, color 0.17s, transform 0.13s;
}

/* ===============================
   COOKIE CONSENT BANNER & MODAL
   =============================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #2E4057;
  border-top: 2px solid #227C9D;
  box-shadow: 0 -2px 16px rgba(46,64,87,0.10);
  padding: 18px 16px;
  z-index: 3000;
  gap: 24px;
  font-size: 1rem;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  animation: cookieSlideIn 0.4s cubic-bezier(.69,0,.05,1) 1;
}
@keyframes cookieSlideIn {
  0% { transform: translateY(80px); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: translateY(0); }
}
.cookie-consent-banner p {
  flex: 1 1 auto;
  font-size: 1rem;
  color: #2E4057;
  margin-right: 14px;
}
.cookie-consent-banner .cookie-btn {
  background: #227C9D;
  color: #fff;
  border: none;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 18px;
  padding: 9px 22px;
  margin-left: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.16s, box-shadow 0.17s, color 0.17s;
  box-shadow: 0 1px 8px rgba(34,124,157,0.10);
}
.cookie-consent-banner .cookie-btn.secondary {
  background: #fff;
  color: #227C9D;
  border: 1.5px solid #227C9D;
  box-shadow: none;
}
.cookie-consent-banner .cookie-btn.settings {
  background: #fff;
  color: #2E4057;
  border: 1.5px solid #2E4057;
  box-shadow: none;
}
.cookie-consent-banner .cookie-btn:hover, 
.cookie-consent-banner .cookie-btn.secondary:hover,
.cookie-consent-banner .cookie-btn.settings:hover {
  background: #2E4057;
  color: #fff;
  border-color: #2E4057;
}

@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cookie-consent-banner p {
    margin-right: 0;
    margin-bottom: 6px;
  }
  .cookie-consent-banner .cookie-btn {margin-left: 0;}
}

/* Modal overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,124,157,0.18);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 440px;
  padding: 32px 28px 26px 28px;
  box-shadow: 0 4px 32px rgba(34,124,157,0.16);
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  animation: modalPopIn 0.38s cubic-bezier(.71,-0.2,.37,1.26) 1;
}
@keyframes modalPopIn {
  0% {transform: scale(0.91) translateY(50px); opacity: 0;}
  76% {opacity: 1;}
  100% {transform: scale(1) translateY(0);}
}
.cookie-modal h2 {
  color: #227C9D;
  font-size: 1.28rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  margin-bottom: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 40px; height: 22px;
  background: #e5eaf0;
  border-radius: 14px; position: relative;
  outline: none; cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal .cookie-toggle:checked {background: #227C9D;}
.cookie-modal .cookie-toggle::before {
  content: '';
  display: block;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 3px; top: 3px;
  transition: transform 0.18s;
}
.cookie-modal .cookie-toggle:checked::before {
  transform: translateX(18px);
}
.cookie-modal .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 22px;
}
.cookie-modal .cookie-btn {padding: 9px 22px;}

.cookie-modal .cookie-category label {
  font-weight: 500;
  color: #233047;
  font-size: 1rem;
}
.cookie-modal .cookie-category small {
  color: #2E4057;
  opacity: 0.7;
  margin-left: 8px;
}

@media (max-width: 480px) {
  .cookie-modal {
    max-width: 98vw;
    padding: 20px 8px 14px 8px;
  }
  .cookie-modal h2 {font-size: 1.08rem;}
}

/* ===============================
   MISC: UTILITIES
   =============================== */
.mt-12 {margin-top:12px;}
.mt-20 {margin-top:20px;}
.mb-24 {margin-bottom:24px;}
.text-center {text-align: center;}

/* ===============================
   SEPARATORS, SPACING, WHITE SPACE
   =============================== */
.section + .section,
section + section {
  margin-top: 32px;
}
.content-wrapper > * + * {margin-top: 8px;}

/* ===============================
   ACCESSIBILITY FOCUS STATES
   =============================== */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid #227C9D;
  outline-offset: 2px;
}

/* ===============================
   BRAND CUSTOM FONTS (WOFF2 Fallbacks should be included by developers separately)
   =============================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Open+Sans:wght@400;600;700&display=swap');

/* ===============================
   END OF CSS
   =============================== */
