/* =====================
   CSS RESET & NORMALIZE
   ===================== */
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; font-size: 16px; scroll-behavior: smooth;}
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #f9fafb 0%, #e8eaf6 100%);
  color: #23295B;
  line-height: 1.55;
}
img {max-width: 100%; display: block;}
a {color: inherit; text-decoration: none; transition: color 0.2s;}
ul, ol { list-style: none; }
button {border: none; font-family: inherit; background: none; cursor: pointer; transition: background 0.2s, color 0.2s; outline: none;}
:focus-visible {outline: 2px solid #F6E27C; outline-offset: 2px;}

/* ============
   TYPOGRAPHY
   ============ */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #23295B;
  margin-bottom: 12px;
}
h1 {font-size: 2.75rem; line-height: 1.1; margin-bottom: 16px;}
h2 {font-size: 2rem; line-height: 1.15; margin-bottom: 14px;}
h3 {font-size: 1.375rem; margin-bottom: 8px;}
h4 {font-size: 1.125rem;}
p, ul, ol {
  font-size: 1rem;
  color: #23295B;
  margin-bottom: 16px;
}
strong {font-weight: 600; color: #23295B;}
address {
  font-style: normal;
  font-size: 0.96rem;
  color: #A6A8AB;
  margin-top: 18px;
  line-height: 1.65;
}

/* ===========================
   BASIC STRUCTURE & LAYOUT
   =========================== */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(163, 177, 198, 0.07);
  margin-bottom: 60px;
  padding: 40px 0;
  position: relative;
  transition: box-shadow 0.3s;
}
@media (max-width: 1024px) {
  .container {
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  section {
    padding: 28px 0;
    border-radius: 8px;
    margin-bottom: 32px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* ===============
   NAVIGATION BAR
   =============== */
header {
  background: linear-gradient(90deg, #e8eaf6 0%, #fff 100%);
  box-shadow: 0 1px 11px 0 rgba(35,41,91,0.07);
  padding: 0;
  position: relative;
  z-index: 80;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  padding: 20px 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 9px 18px;
  border-radius: 22px;
  color: #23295B;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:not(.btn-primary):hover, .main-nav a:focus-visible {
  background: #f3f5fa;
  color: #23295B;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 12px;
  vertical-align: middle;
}

/* =============
   PRIMARY BUTTON
   ============= */
.btn-primary {
  background: linear-gradient(90deg, #F6E27C 30%, #ffe400 100%);
  color: #23295B !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 24px;
  padding: 10px 32px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-left: 8px;
  box-shadow: 0 2px 10px 0 rgba(246,226,124, 0.13);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.12s;
  border:none;
  outline: none;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: #ffe400;
  color: #23295B !important;
  box-shadow: 0 4px 22px 0 rgba(246,226,124, 0.25);
  transform: translateY(-1px) scale(1.03);
}

.btn-secondary {
  background: #23295B;
  color: #fff !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  border-radius: 24px;
  padding: 10px 28px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: background 0.22s, color 0.22s, box-shadow 0.12s;
  margin-top: 12px;
  margin-bottom: 4px;
  border:none;
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: #38419d;
  color: #fff !important;
}

/* ===========
   FLEX LAYOUTS
   =========== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 10px 0 rgba(35,41,91,0.06);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.20s, transform 0.20s;
}
.card:hover {
  box-shadow: 0 3px 18px 0 rgba(35,41,91,0.17);
  transform: translateY(-1px) scale(1.012);
}
.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: 16px;
  box-shadow: 0 1px 7px 0 rgba(163, 177, 198, 0.12);
  margin-bottom: 20px;
  min-height: 95px;
  transition: box-shadow 0.23s, transform 0.13s;
  position: relative;
}
.testimonial-card strong {
  color: #4d4e64;
  font-size: 1.03rem;
  margin-left: 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #23295B;
  margin: 0;
}
.testimonial-card:hover {
  box-shadow: 0 2px 17px 0 rgba(22, 23, 72, 0.17);
  transform: scale(1.017);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* LOGOS LISTS */
.logos-list {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 16px;
  margin-bottom: 10px;
}
.logos-list img {
  height: 40px;
  filter: grayscale(0.25) brightness(1);
  opacity: 0.88;
  transition: filter 0.13s, opacity 0.13s, transform 0.11s;
}
.logos-list img:hover {
  filter: brightness(1.06) drop-shadow(0 1px 5px #F6E27C22);
  opacity: 1;
  transform: scale(1.05);
}

/* =====================
   LISTS & ICONS STYLES
   ===================== */
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #23295B;
  padding: 6px 0;
}
ul li img {
  height: 24px; width: 24px;
  margin-right: 3px;
}
.text-section ul li {
  padding: 3px 0 3px 2px;
}

/* ==============
   FOOTER STYLES
   ============== */
footer {
  background: linear-gradient(90deg, #23295B 0%, #A6A8AB 100%);
  color: #fff;
  margin-top: 48px;
  padding: 32px 0 20px 0;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #fff;
  font-size: 0.97rem;
  opacity: 0.95;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus-visible {
  color: #F6E27C;
}
footer address {
  color: #F6E27C;
  font-size: 0.96rem;
  margin-top: 6px;
}

/* ================
   MOBILE NAV MENU
   ================ */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 2.2rem;
  color: #23295B;
  background: #fff;
  padding: 7px 14px 5px 12px;
  border-radius: 8px;
  z-index: 99;
  box-shadow: 0 3px 12px 0 rgba(35,41,91,0.06);
  transition: background 0.21s, color 0.15s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus-visible {
  background: #f3f5fa; color: #23295B;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,41,91, 0.96);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.87,0,0.13,1);
  z-index: 999;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  pointer-events: all;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 26px;
  font-size: 2.5rem;
  background: transparent;
  color: #F6E27C;
  border:none;
  z-index:1002;
  padding: 4px 8px;
  font-weight:400;
}
.mobile-menu-close:focus-visible, .mobile-menu-close:hover {
  color: #fff;
  background: #F6E27C22;
  border-radius: 7px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 80px;
  width: 100%;
  align-items: center;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 28px;
  border-radius: 22px;
  transition: background 0.16s, color 0.13s;
  margin: 0 0 12px 0;
  width: 80vw;
  text-align:center;
}
.mobile-nav a:hover, .mobile-nav a:focus-visible {
  background: #F6E27C;
  color: #23295B;
}

@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none!important; }
}

/* ===========
   SPACING
   =========== */
section + section {
  margin-top: 0;
}
.content-wrapper > * + * {
  margin-top: 8px;
}

/* ================
  RESPONSIVE ADJUSTMENTS
   ================ */
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 768px) {
  h1 {font-size: 2.1rem;}
  h2 {font-size: 1.45rem;}
  h3 {font-size: 1.08rem;}
  .content-wrapper, .content-grid { gap: 12px; }
  .logos-list { gap: 15px; }
  .testimonial-card { padding: 15px; }
  .footer-nav { gap: 12px; }
  .section { padding: 28px 7px; margin-bottom: 28px; }
  .card-container { gap: 15px; }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .main-nav { flex-direction: column; gap: 7px; }
}
@media (max-width: 520px) {
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    min-height: 0;
  }
}

/* ===============
   MICROINTERACTIONS
   =============== */
a.btn-primary, a.btn-secondary, button {
  transition: box-shadow 0.18s, background 0.16s, color 0.14s, transform 0.13s;
}
.testimonial-card {
  transition: box-shadow 0.2s, transform 0.14s;
}
.testimonial-card:active {
  box-shadow: 0 1px 4px 0 rgba(35,41,91,0.05);
  transform: scale(0.97);
}
.card:active { transform: scale(0.985); }

/* ===========
   COOKIE CONSENT BANNER
   =========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  width: 100vw;
  background: #23295B;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  box-shadow: 0 -2px 16px 0 rgba(35,41,91,0.15);
  border-radius: 18px 18px 0 0;
  gap: 28px;
  font-size: 1rem;
  transition: transform 0.27s, opacity 0.23s;
}
.cookie-banner.closed {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__message {
  flex: 2 1 0%;
  color: #fff;
  font-size: 0.97rem;
  margin-right: 13px;
}
.cookie-banner__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  border-radius: 19px;
  padding: 9px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  background: #fff;
  color: #23295B;
  border: none;
  font-size: 1rem;
  transition: background 0.18s, color 0.16s, box-shadow 0.16s, transform 0.1s;
  margin-right: 2px;
  box-shadow: 0 1px 7px 0 #F6E27C13;
}
.cookie-btn:last-child {margin-right:0;}
.cookie-btn:hover, .cookie-btn:focus-visible {
  background: #F6E27C;
  color: #23295B;
  box-shadow: 0 2px 15px 0 #F6E27C66;
  transform: scale(1.03);
}
.cookie-btn-secondary {
  background: #23295B;
  color: #F6E27C;
  border: 1px solid #F6E27C;
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus-visible {
  background: #fff;
  color: #23295B;
}

@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    padding: 18px 9px 18px 14px;
    gap: 15px;
    align-items: flex-start;
    border-radius: 11px 11px 0 0;
    font-size: 0.98rem;
  }
  .cookie-banner__buttons { gap: 11px; }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,41,91, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1205;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal__content {
  background: #fff;
  color: #23295B;
  border-radius: 15px;
  padding: 34px 28px 26px 28px;
  max-width: 98vw;
  width: 410px;
  box-shadow: 0 4px 32px 0 rgba(35,41,91,0.14);
  display: flex;
  flex-direction: column;
  gap: 13px;
  position: relative;
  animation: cookieModalIn 0.32s cubic-bezier(0.86,0,0.15,1);
}
@keyframes cookieModalIn {
  from { transform: scale(0.95) translateY(18px); opacity: 0.0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal__header {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.22rem;
  margin-bottom: 7px;
}
.cookie-modal__close {
  position: absolute; top: 15px; right: 20px;
  color: #23295B; background: #F6E27C;
  border-radius: 50%; border: none;
  font-size: 1.24rem;
  width: 32px; height: 32px;
  padding: 2px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus-visible {
  background: #23295B; color: #F6E27C;
}
.cookie-category {
  display: flex; align-items: center;
  margin-bottom: 8px; gap: 8px;
}
.cookie-category input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: #F6E27C; /* fallback for modern browsers */
  margin-right: 7px;
}
.cookie-category label {
  font-size: 1.01rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #23295B;
}
.cookie-category--essential label {
  font-weight: 700;
  color: #23295B;
  opacity: 0.75;
}
.cookie-category--essential input[type="checkbox"] {
  accent-color: #A6A8AB;
}
.cookie-category--essential input {
  pointer-events: none;
}
.cookie-modal__actions {
  display: flex;
  gap: 11px;
  margin-top: 13px;
}
@media (max-width: 500px) {
  .cookie-modal__content { width: 96vw; padding: 18px 5vw; }
}

/* =============
   ACCESSIBILITY
   ============= */
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  border:0;
}

/* =============
   MISC
   ============= */
::-webkit-input-placeholder {color: #A6A8AB;}
::-moz-placeholder {color: #A6A8AB;}
:-ms-input-placeholder {color: #A6A8AB;}
::placeholder {color: #A6A8AB;}

/* =============
   PRINT SAFETY
   ============= */
@media print {
  body, section, .container, .content-wrapper {background: #fff !important; color: #111 !important;}
  section {box-shadow:none !important;}
  nav, .mobile-menu, .cookie-banner, .cookie-modal {display:none !important;}
}

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