/* ==== 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, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  background: #F8F8F8;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  color: #22314C;
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(135deg,#F8F8F8 0%, #edf3fa 100%);
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #003366;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #F4B942;
}
strong {
  font-weight: 700;
}

/* ==== TYPOGRAPHY ==== */
h1, .hero h1 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: #003366;
  margin-bottom: 1rem;
  line-height: 1.15;
}
h2 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: .75rem;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  color: #003366;
  margin-bottom: .5rem;
}
p {
  font-size: 1.06rem;
  color: #22314C;
  margin-bottom: 1rem;
}
.text-section p {
  margin-bottom: 1rem;
}

/* ==== CONTAINER & MAIN LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1140px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
}

/* ==== HEADER & NAV ==== */
header {
  background: #fff;
  box-shadow: 0 6px 32px 0 rgba(0,38,96,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
header .container {
  min-height: 68px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-size: 1rem;
  padding: 5px 6px;
  border-radius: 4px;
  transition: background .18s;
}
header nav a:hover, header nav a:focus {
  background: #F4B94222;
  color: #003366;
}
.cta-primary {
  background: linear-gradient(90deg, #003366 0%, #F4B942 100%);
  color: #fff;
  border: none;
  border-radius: 26px;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  padding: 12px 34px;
  margin-left: 18px;
  box-shadow: 0 3px 16px 0 rgba(11,59,141,0.10);
  cursor: pointer;
  transition: background .2s, box-shadow .2s, color .2s;
  letter-spacing: .02em;
  text-align: center;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #003366 80%, #F4B942 100%);
  color: #fff200;
  box-shadow: 0 8px 36px 0 rgba(244,185,66,0.2);
  outline: none;
}
/* Hide .container's overflow when .mobile-menu is open */
body.mobile-menu--opened > *:not(.mobile-menu) {
  pointer-events: none;
  filter: blur(3px) grayscale(66%);
  user-select: none;
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  margin-left: 18px;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #003366;
  cursor: pointer;
  display: none;
  transition: color .2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #F4B942;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #FFF;
  box-shadow: 0 8px 32px 0 rgba(0,38,102,0.11), 0 0 0 200vw #00336688;
  z-index: 510;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 38px;
  padding-left: 0;
  transform: translateX(-100%);
  transition: transform .39s cubic-bezier(.77, 0, .175, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #003366;
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 531;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:focus,.mobile-menu-close:hover {
  color: #F4B942;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 0 0 28px;
  width: 100%;
  gap: 18px;
}
.mobile-nav a {
  font-size: 1.32rem;
  color: #003366;
  font-weight: 700;
  padding: 16px 14px 16px 0;
  border-bottom: 1px solid #edf3fa;
  min-width: 60vw;
  transition: color .21s, background .16s;
  border-radius: 5px;
}
.mobile-nav a:hover,.mobile-nav a:focus {
  background: #F4B94233;
  color: #E58A00;
}
@media (max-width: 1080px) {
  header nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1081px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==== HERO SECTION ==== */
.hero {
  background: linear-gradient(120deg,#f8f8f8 0%, #F4B942 58%, #003366 100%);
  min-height: 355px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 300px;
}
.hero .content-wrapper {
  max-width: 540px;
  background: rgba(255,255,255,0.85);
  padding: 36px 28px 36px 28px;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(0,51,102,0.05);
  backdrop-filter: blur(1px);
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.45rem;
  color: #003366;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.15rem;
  color: #222;
}
@media (max-width: 768px) {
  .hero {
    min-height: unset;
    padding: 20px 0 26px 0;
  }
  .hero .content-wrapper {
    padding: 22px 14px 22px 14px;
    max-width: 100%;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
}

/* ==== FLEXBOX SPACING & STRUCTURE PATTERNS ==== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(0,38,96,0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  flex: 1 1 300px;
  transition: box-shadow .18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(0,38,96,0.17);
}
.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;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: linear-gradient(90deg,#fff 60%, #F4B94211 100%);
  border-radius: 14px;
  box-shadow: 0 1px 9px 0 rgba(0,38,102,0.06);
  flex-direction: column;
  align-items: flex-start;
  max-width: 660px;
}
.testimonial-card p {
  color: #003366;
  font-size: 1.13rem;
  font-weight: 500;
  margin-bottom: 0.3em;
}
.testimonial-card em {
  color: #555;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .98rem;
  font-style: italic;
  margin-top: 0px;
  display: block;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== CARDS, LISTS and CTA ==== */
ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.07rem;
}
ul > li > img {
  width: 28px;
  height: 28px;
  margin-right: 6px;
}
.cta {
  background: linear-gradient(90deg, #003366 0%, #F4B942 100%);
  color: #fff;
  border-radius: 16px;
  padding: 38px 20px;
  min-height: 120px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
}
.cta h2 {
  color: #fff;
}

/* ==== TEXT SECTIONS ==== */
.text-section {
  margin-bottom: 18px;
  max-width: 720px;
}
.text-section ul {
  padding-left: 0;
}

/* ==== FOOTER ==== */
footer {
  background: #003366;
  color: #fff;
  font-size: .96rem;
  width: 100%;
  margin-top: 40px;
  padding-top: 38px;
  padding-bottom: 24px;
}
footer .container {
  flex-direction: column;
  align-items: center;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 12px;
}
footer nav a {
  color: #fff;
  opacity: 0.94;
  transition: opacity .18s, text-decoration .18s;
}
footer nav a:hover,footer nav a:focus {
  opacity: 1;
  text-decoration: underline;
}
.brand-tagline {
  font-family: 'Merriweather',Georgia,serif;
  font-size: 1.02rem;
  color: #F4B942;
  margin: 0 0 4px 0;
  opacity: 0.88;
}
.legal-disclaimer {
  font-size: .91rem;
  color: #fff;
  opacity: 0.7;
}
@media (max-width: 800px) {
  footer .content-wrapper, footer nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  footer nav {
    gap: 10px;
  }
}

/* ==== RESPONSIVE BREAKPOINTS ==== */
@media (max-width: 900px) {
  .content-wrapper {
    gap: 18px;
  }
  .card {
    flex-basis: 100%;
  }
}
@media (max-width: 600px) {
  .section {
    margin-bottom: 36px;
    padding: 26px 8px;
  }
  .hero {
    margin-bottom: 32px;
  }
  .card {
    padding: 16px 9px;
  }
  .testimonial-card {
    padding: 12px;
    font-size: 1em;
  }
}

/* ==== BUTTONS, INPUTS & INTERACTIONS ==== */
button, .cta-primary {
  outline: none;
  border: none;
}
button:active, .cta-primary:active {
  filter: brightness(0.92);
}
button:focus-visible,
.cta-primary:focus-visible {
  outline: 3px solid #F4B942;
  outline-offset: 1px;
}

/* ==== HOVER / MICRO-INTERACTIONS ==== */
.card, .testimonial-card, .cta-primary, .cta {
  transition: box-shadow .22s, background .17s, color .18s, border .15s;
}
.card:hover { box-shadow: 0 16px 48px 0 rgba(0, 38, 96, 0.13); }
.cta-primary:hover {
  background: linear-gradient(90deg, #003366 55%, #F4B942 100%);
  box-shadow: 0 2px 18px 0 rgba(244,185,66,0.19);
}
ul > li:hover, ul > li:focus-within {
  background: #F4B94214;
  border-radius: 7px;
  transition: background .13s;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1002;
  background: #fff;
  box-shadow: 0 -2px 24px 0 #00336620;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 18px;
  font-size: 1.02rem;
}
.cookie-banner__message {
  color: #003366;
  flex: 1;
}
.cookie-banner__buttons {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  padding: 9px 24px;
  border-radius: 22px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: #F4B942;
  color: #003366;
  margin-left: 0;
  transition: background .2s, color .2s;
}
.cookie-btn.settings {
  background: #003366;
  color: #fff;
}
.cookie-btn.reject {
  background: #eee;
  color: #766500;
}
.cookie-btn:hover,.cookie-btn:focus {
  background: #003366;
  color: #fff;
}
.cookie-btn.settings:hover {
  background:#F4B942;
  color:#003366;
}
.cookie-btn.reject:hover {
  background:#F4B94266;
  color:#003366;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px;
    gap: 12px;
  }
  .cookie-banner__buttons {
    gap: 9px;
  }
}

/* ==== COOKIE CONSENT MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1003;
  left: 0; top:0; right:0; bottom:0;
  background: #00336655;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieFadeInBg .25s;
}
@keyframes cookieFadeInBg {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 28px 0 #00336635;
  padding: 38px 28px 28px 28px;
  width: 410px;
  max-width: 96vw;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: cookieModalPop .22s cubic-bezier(.47,1.64,.41,.8);
}
@keyframes cookieModalPop {
  from { transform: scale(.88); opacity:0; } to {transform:scale(1);opacity:1;}
}
.cookie-modal-title {
  font-family: 'Merriweather',Georgia,serif;
  font-weight: 700;
  font-size: 1.32rem;
  color: #003366;
  margin-bottom: 1px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal-category label {
  font-weight: 600;
  color: #003366;
}
/* Custom toggle switch style */
.cookie-toggle {
  width: 38px;
  height: 20px;
  border-radius: 12px;
  background: #cef1e6;
  position: relative;
  outline: none;
  margin: 0 4px 0 0;
  cursor: pointer;
  border: none;
  appearance: none;
  transition: background .2s;
}
.cookie-toggle:checked {
  background: #F4B942;
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 2.5px; left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  background: #fff;
  box-shadow: 0 1px 2px #00336625;
  transition: left .2s;
}
.cookie-toggle:checked::after {
  left: 20px;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal-actions .cookie-btn {
  min-width: 88px;
}
/* Essential always enabled */
.cookie-modal-category.essential label {
  opacity: 0.8;
  font-style: italic;
}
.cookie-modal-category.essential .cookie-toggle {
  opacity: 0.65;
  pointer-events: none;
}

/* ==== UTILITY CLASSES ==== */
.d-none { display: none; }
@media (max-width: 800px) {
  .d-desktop { display: none !important; }
  .d-mobile { display: block !important; }
}
@media (min-width: 801px) {
  .d-desktop { display: block !important; }
  .d-mobile { display: none !important; }
}

/* ==== ACCESSIBILITY ==== */
:focus-visible {
  outline: 2px dashed #F4B942;
  outline-offset:2px;
}

/* ==== END ====