/* --- 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; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F8FAFC;
  color: #1A2655;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  min-width: 320px;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
a { color: #1A2655; text-decoration: none; transition: color 0.22s; }
a:hover, a:focus { color: #F2B600; }
ul, ol {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}

/* --- BRAND FONTS --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #1A2655;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.375rem; margin-bottom: 16px; }
h4 { font-size: 1.125rem; margin-bottom: 14px; }
.subheadline { font-size: 1.25rem; margin-bottom: 16px; font-weight: 500; color: #2B3972; }
p, li, blockquote, label {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #1A2655;
}

/* --- BASE CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- HEADER / NAVIGATION --- */
header {
  background: linear-gradient(90deg, #e8eaf6 0%, #ffffff 100%);
  box-shadow: 0 4px 16px rgba(26,38,85,0.03);
  border-bottom: 1px solid #ecedf3;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.header-container > a > img {
  height: 52px;
  width: auto;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #1A2655;
  padding: 8px 6px;
  border-radius: 5px;
  transition: background 0.22s, color 0.22s;
}
.main-nav a:hover, .main-nav a.active {
  background: #F2B600;
  color: #1A2655;
}
.cta-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: linear-gradient(90deg, #F2B600 0%, #F9D923 100%);
  color: #1A2655;
  padding: 12px 28px;
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(242,182,0,0.07);
  font-weight: 700;
  font-size: 1.07rem;
  border: none;
  cursor: pointer;
  transition: background 0.22s, color 0.18s, box-shadow 0.24s;
  margin-left: 18px;
  outline: none;
  text-align: center;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #fca311 0%, #F2B600 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(26,38,85,0.12);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: #F2B600;
  border: none;
  font-size: 2.0rem;
  line-height: 1;
  padding: 10px 15px;
  border-radius: 8px;
  color: #1A2655;
  cursor: pointer;
  transition: background 0.22s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #FFD857;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 320px;
  height: 100vh;
  background: #fff;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4,0.7,0.4,1.0);
  box-shadow: -4px 0 32px rgba(26,38,85,0.08);
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  gap: 16px;
}
.mobile-menu.open { /* manage via JS */
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 2.0rem;
  color: #1A2655;
  margin: 24px 0 0 0;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 1100;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F2B600;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}
.mobile-nav a {
  color: #1A2655;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 10px 6px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2B600;
  color: #fff;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(90deg, #E8EAF6 0%, #C9D7FA 100%);
  padding: 64px 0 52px 0;
  border-radius: 0 0 40px 40px;
  margin-bottom: 40px;
  box-shadow: 0 10px 32px rgba(26,38,85,0.07);
}
.hero .container {
  display: flex;
  flex-direction: column;
}
.hero .content-wrapper {
  gap: 22px;
  align-items: flex-start;
  max-width: 660px;
}
.hero h1, .hero .subheadline {
  color: #1A2655;
}

/* --- CARD & FLEX LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(26,38,85,0.06);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  transition: box-shadow 0.24s, transform 0.22s;
  min-width: 240px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 12px 40px rgba(242,182,0,0.16);
  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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(42,33,125,0.06);
  color: #1A2655;
  margin-bottom: 20px;
  border-left: 5px solid #F2B600;
  transition: box-shadow 0.22s;
}
.testimonial-card blockquote {
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 0;
  color: #2B3972;
}
.testimonial-card strong {
  color: #1A2655;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 18px 0 0 0;
}
.faq-list > div {
  background: #fff;
  padding: 18px 20px;
  border-radius: 14px;
  flex: 1 1 200px;
  min-width: 220px;
  box-shadow: 0 2px 12px rgba(26,38,85,0.05);
}

.alert-box {
  background: #ffeeb3;
  color: #7a5700;
  padding: 18px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.06rem;
  box-shadow: 0 4px 14px rgba(242,182,0,0.07);
}

.text-section, .content-wrapper .text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 15px;
}
.text-section ul, .content-wrapper ul {
  margin-bottom: 16px;
  padding-left: 18px;
}
.text-section ul li,
.content-wrapper ul li {
  list-style: disc inside;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #1A2655;
}

/* --- BUTTONS --- */
button,
input[type="button"],
input[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: linear-gradient(90deg, #F2B600 0%, #F9D923 100%);
  color: #1A2655;
  border: none;
  border-radius: 24px;
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.22s, color 0.17s, box-shadow 0.18s;
  outline: none;
}
button:hover, button:focus,
input[type="button"]:hover, input[type="button"]:focus,
input[type="submit"]:hover, input[type="submit"]:focus {
  background: linear-gradient(90deg, #fca311 0%, #F2B600 100%);
  color: #fff;
  box-shadow: 0 2px 7px rgba(26,38,85,0.12);
}

/* --- FOOTER --- */
footer {
  background: #1A2655;
  color: #fff;
  padding: 32px 0 24px 0;
  border-radius: 32px 32px 0 0;
  margin-top: 70px;
}
.footer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-logo img {
  height: 42px;
  width: auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
  font-size: 1rem;
}
.footer-links nav {
  margin-bottom: 7px;
}
.footer-links a {
  color: #fff;
  margin: 0 4px;
  opacity: 0.96;
  transition: color 0.18s, opacity 0.15s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #F2B600;
  opacity: 1;
}
.footer-info {
  font-size: 0.98rem;
  opacity: .82;
  color: #E8EAF6;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: #fffbe5;
  border-top: 2px solid #F2B600;
  color: #1A2655;
  box-shadow: 0 -4px 22px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 18px;
  font-size: 1rem;
  max-width: 550px;
  margin: 0 auto;
  left: 0; right: 0;
  animation: cookieFadeIn 0.6s;
}
@keyframes cookieFadeIn {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button {
  min-width: 100px;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 18px;
  border: none;
  background: #F2B600;
  color: #1A2655;
  margin-right: 10px;
  cursor: pointer;
  transition: background 0.19s, color 0.14s;
}
.cookie-banner button:last-child { margin-right: 0; }
.cookie-banner .cookie-settings-btn {
  background: #E8EAF6;
  color: #1A2655;
  border: 1px solid #c7caeb;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #ffd858;
  color: #1A2655;
}

.cookie-modal-backdrop {
  position: fixed;
  z-index: 1100;
  inset: 0px;
  background: rgba(26,38,85,0.3);
  display: none;
}
.cookie-modal-backdrop.open { display: block; }
.cookie-modal {
  position: fixed;
  bottom: 50%; left: 50%;
  transform: translate(-50%,50%);
  background: #fff;
  color: #1A2655;
  border-radius: 22px;
  box-shadow: 0 6px 34px rgba(26,38,85,0.12);
  z-index: 1110;
  max-width: 420px;
  width: 90vw;
  padding: 32px 22px 26px 22px;
  display: none;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalIn 0.25s;
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translate(-50%,66%); }
  to   { opacity: 1; transform: translate(-50%,50%); }
}
.cookie-modal.open { display: flex; }
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-toggle {
  appearance: none;
  width: 42px;
  height: 24px;
  background: #E8EAF6;
  border-radius: 30px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-toggle:checked {
  background: #F2B600;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2.5px;
  top: 2.5px;
  width: 19px;
  height: 19px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.17s;
  box-shadow: 0 1px 4px rgba(26,38,85,0.10);
}
.cookie-toggle:checked:before {
  left: 20px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.cookie-modal .modal-actions button {
  flex: 1 1 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .container { max-width: 94vw; }
  .header-container { flex-wrap: wrap; gap: 8px; }
  .footer-wrapper { max-width: 96vw; }
}
@media (max-width: 990px) {
  .footer-links { flex-direction: column; gap: 4px; }
  .main-nav { gap: 12px; }
}
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    flex-direction: row;
    gap: 9px;
    padding: 12px 10px;
  }
  .main-nav {
    display: none;
  }
  .cta-primary {
    margin-left: 0;
    margin-top: 7px;
    padding: 12px 16px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 38px 0 30px 0;
    border-radius: 0 0 24px 24px;
    margin-bottom: 22px;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper,
  .text-section,
  .footer-links {
    gap: 12px;
    font-size: 1rem;
  }
  .card-container,
  .content-grid,
  .faq-list {
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 15px;
  }
  .footer-wrapper { gap: 15px; }
  .footer-logo img { height: 32px; }
  footer { padding: 18px 0 14px 0; margin-top: 36px; border-radius: 18px 18px 0 0; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.25rem; }
  .container { padding: 0 2vw; }
  .faq-list > div { padding: 14px 9px; }
}

/* --- UTILITIES --- */
.hide { display: none !important; }
.center { text-align: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-space-between { display: flex; justify-content: space-between; align-items: center; }

/* --- ICONS (FOR CONTACT) --- */
.text-section > div > img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  height: 18px;
  width: 18px;
}

/* --- DECORATIVE ELEMENTS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(32,46,105,0.07);
}

/* --- MISC --- */
::-webkit-input-placeholder { color: #7B88A6; opacity: 1; }
::-moz-placeholder          { color: #7B88A6; opacity: 1; }
:-ms-input-placeholder      { color: #7B88A6; opacity: 1; }
::placeholder              { color: #7B88A6; opacity: 1; }


/* --- SPACING PATTERNS (MANDATORY) --- */
.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; }

/* --- FOCUS STATES FOR ACCESSIBILITY --- */
a:focus, button:focus, .cta-primary:focus, input:focus {
  outline: 2px solid #F2B600;
  outline-offset: 2px;
}

/* === END === */
