/* --- 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, main, 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, main, nav, section { display: block; }
body {
  line-height: 1.5;
  background: #F7F9FA;
  color: #202C39;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
ul { list-style: none; }
ol { list-style: decimal inside; margin-left: 1.5em; }
a { color: #1A497A; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #FFB400; }
img { max-width: 100%; height: auto; vertical-align: middle; }
strong, b { font-weight: 700; }
em, i { font-style: italic; }
hr { border: none; border-top: 1px solid #dbe1e7; margin: 24px 0; }

::-webkit-input-placeholder { color: #7A869A; }
::-moz-placeholder { color: #7A869A; }
:-ms-input-placeholder { color: #7A869A; }
::placeholder { color: #7A869A; }

/* --- BRAND TYPOGRAPHY SCALE --- */
h1 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 2.5rem;
  color: #202C39;
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.18;
}
h2 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 2rem;
  color: #1A3552;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.22;
}
h3 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  color: #26344A;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0;
  line-height: 1.25;
}
h4, h5, h6 {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500; margin-bottom: 10px;
}
p, ul, ol, blockquote, .text-section, label {
  font-size: 1rem;
  color: #202C39;
  margin-bottom: 16px;
  font-family: 'Roboto', Arial, sans-serif;
}
blockquote {
  border-left: 4px solid #FFB400;
  background: #F0F4F8;
  padding: 18px 24px;
  font-style: italic;
  color: #26344A;
  margin-bottom: 20px;
  border-radius: 6px;
}

/* --- LAYOUT --- */
.container {
  max-width: 1140px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 0;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(32,44,57,0.07);
  padding: 28px 22px;
  min-width: 260px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 20px 0 rgba(32,44,57,0.11), 0 2px 8px 0 rgba(32,44,57,0.08);
  transform: translateY(-2px) scale(1.016);
  z-index: 2;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px 0 rgba(32,44,57,0.09);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 430px;
  border-left: 5px solid #202C39;
  transition: box-shadow 0.22s, border-color 0.18s;
}
.testimonial-card:hover {
  border-left-color: #FFB400;
  box-shadow: 0 4px 16px 0 rgba(32,44,57,0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- NAVIGATION --- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #fff;
  padding: 18px 0;
  border-bottom: 1px solid #E1E7F0;
  position: relative;
  z-index: 10;
}
.main-nav a {
  color: #202C39;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:not(.cta-btn):hover,
.main-nav a:not(.cta-btn):focus {
  background: #F3F6F9;
  color: #1A497A;
}
.main-nav .cta-btn {
  background: #FFB400;
  color: #202C39;
  padding: 7px 24px;
  border-radius: 6px;
  margin-left: 12px;
  font-weight: 700;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  box-shadow: 0 2px 8px 0 rgba(32,44,57,0.08);
  transition: background 0.18s, color 0.16s, box-shadow 0.18s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #202C39;
  color: #fff;
  box-shadow: 0 6px 20px 0 rgba(32,44,57,0.14);
}
header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1002;
  border-bottom: 1px solid #E1E6EE;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #202C39;
  display: none;
  margin-left: auto;
  margin-right: 10px;
  cursor: pointer;
  z-index: 1011;
  padding: 2px 10px 2px 2px;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus {
  background: #eceefd;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,44,57,0.97);
  pointer-events: none;
  opacity: 0;
  transform: translateX(100vw);
  transition: opacity 0.28s cubic-bezier(0.4,0,0.2,1), transform 0.38s cubic-bezier(0.4,0,0.2,1);
  z-index: 1010;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #fff;
  margin: 24px 32px 12px 0;
  align-self: flex-end;
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 12px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFB40033;
  color: #FFB400;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 40px 24px 24px 36px;
  width: 100%;
  height: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 7px 0;
  border-radius: 0;
  transition: color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #FFB400;
}

/* --- MAIN BUTTONS --- */
.cta-btn {
  display: inline-block;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  background: #FFB400;
  color: #202C39;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  padding: 12px 26px;
  box-shadow: 0 1px 6px 0 rgba(32,44,57, .09);
  margin-top: 12px;
  cursor: pointer;
  transition: background 0.21s, color 0.17s, box-shadow 0.16s, transform 0.12s;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #202C39;
  color: #fff;
  box-shadow: 0 6px 20px 0 rgba(32,44,57,0.15);
  transform: translateY(-1px) scale(1.012);
}

/* --- LISTS --- */
ul, ol {
  padding-left: 20px;
  margin-bottom: 18px;
}
ul li {
  position: relative;
  margin-bottom: 13px;
  font-size: 1rem;
  color: #26344A;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #FFB400;
  border-radius: 50%;
  margin-right: 10px;
  margin-left: -18px;
  vertical-align: middle;
}
ul li > img:first-child {
  margin-right: 8px;
  vertical-align: middle;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
ul li h3, ul li strong {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #202C39;
}
/**** Remove bullet for icon-feature or info lists ****/
ul li:has(img):before {
  display: none !important;
}

/* --- SECTION INTERIORS --- */
section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(32,44,57,.07);
  margin-bottom: 36px;
  padding: 40px 0;
}

/* --- TESTIMONIALS --- */
.testimonial-card p, .testimonial-card em {
  color: #202C39;
  font-size: 1.025rem;
  margin-bottom: 4px;
  line-height: 1.48;
}
.testimonial-card span {
  color: #1A497A;
  font-size: 1rem;
  font-weight: 500;
}
.testimonial-card strong {
  color: #202C39;
}
.testimonial-card .stars {
  color: #FFB400;
  font-size: 1.15rem;
  margin-left: 3px;
}

/* --- FOOTER --- */
footer {
  background: #202C39;
  color: #fff;
  padding: 36px 0 24px 0;
  border-top: 5px solid #FFB400;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 8px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  opacity: 0.94;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
footer nav a:hover,footer nav a:focus { background: #26344A; color: #FFB400; }
footer .text-section {
  color: #d3dbe6;
  font-size: 0.97rem;
  gap: 4px;
  margin-top: 4px;
  opacity: 0.89;
  line-height: 1.7;
}
footer .text-section img {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  margin-right: 6px;
}
footer .text-section span {
  display: inline-block;
  margin-bottom: 0;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #202C39;
  color: #fff;
  padding: 22px 24px 17px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  z-index: 2000;
  box-shadow: 0 -3px 30px 0 rgba(32,44,57,0.22);
  font-size: 1rem;
  animation: cookieIn 0.5s 0.2s cubic-bezier(.33,.92,.48,1.04) backwards;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
@keyframes cookieIn { from { transform: translateY(80px); opacity: 0;} to {transform: none; opacity: 1;}}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 13px;
  margin-top: 0;
}
.cookie-banner button {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  background: #FFB400;
  border: none;
  color: #202C39;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  margin-right: 4px;
  transition: color 0.17s, background 0.13s, transform 0.12s;
  box-shadow: 0 1px 6px 0 rgba(32,44,57,0.08);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #fff;
  color: #202C39;
  transform: scale(1.04);
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #202C39;
  border: 1.5px solid #FFB400;
}
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner .cookie-settings-btn:focus {
  background: #FFB400;
  color: #202C39;
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 2100;
  background: rgba(32,44,57,0.80);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  animation: cookieModalIn 0.25s cubic-bezier(.33,.92,.48,1.04) backwards;
}
@keyframes cookieModalIn { from { opacity: 0;} to {opacity: 1;}}
.cookie-modal-inner {
  background: #fff;
  color: #202C39;
  padding: 38px 26px 28px 26px;
  border-radius: 10px;
  max-width: 410px;
  min-width: 85vw;
  max-width: 98vw;
  box-shadow: 0 3px 30px 0 rgba(32,44,57,0.15);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieModalContentIn 0.54s cubic-bezier(.33,.92,.48,1.04) backwards;
}
@keyframes cookieModalContentIn { from { transform: translateY(50px) scale(.93);} to {transform: none;}}
.cookie-modal-close {
  position: absolute;
  right: 20px; top: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #202C39;
  cursor: pointer;
  padding: 2px 8px;
}
.cookie-modal h2 { font-size: 1.22rem; color: #202C39; margin-bottom: 12px; }
.cookie-pref-group {
  margin-bottom: 14px;
}
.cookie-pref-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-pref-group input[type="checkbox"] {
  accent-color: #FFB400;
  width: 18px;
  height: 18px;
}
.cookie-pref-group input[disabled] { accent-color: #BFCBDD !important; }

.cookie-modal .cookie-pref-buttons {
  margin-top: 20px;
  display: flex;
  gap: 13px;
}

/* --- FORMS (if any) --- */
input, textarea, select {
  border: 1px solid #C0CBD9;
  border-radius: 6px;
  padding: 10px 13px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #202C39;
  background: #fff;
  outline: none;
  transition: border 0.16s, box-shadow 0.12s;
  margin-bottom: 15px;
}
input:focus, textarea:focus, select:focus {
  border-color: #1A497A;
  box-shadow: 0 2px 9px 0 rgba(32,44,57,0.07);
}
label { color: #34445a; font-weight: 500; font-size: 1rem; margin-bottom: 7px; display: block; }

/* --- MEDIA QUERIES: RESPONSIVE / MOBILE-FIRST --- */
@media (max-width: 1140px) {
  .container { max-width: 100%; }
}
@media (max-width: 991px) {
  .main-nav {
    gap: 13px;
    padding-left: 5px;
  }
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  section { padding: 32px 0; }
  .section { padding: 32px 10px; margin-bottom: 35px; }
}
@media (max-width: 900px) {
  .card-container { gap: 15px; }
  .testimonial-card, .card { min-width: 190px; }
}
@media (max-width: 830px) {
  .main-nav a, .main-nav .cta-btn { font-size: 1rem; padding: 6px 8px; }
  h1 { font-size: 2.08rem; }
  h2 { font-size: 1.3rem; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container { padding-left: 8px; padding-right: 8px; }
  section, .section { padding: 26px 0; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.17rem; }
  .content-wrapper, .text-section, .card-container, .card-content, .content-grid {
    flex-direction: column !important;
    gap: 13px;
    align-items: flex-start;
  }
  .testimonial-card, .card { min-width: 100%; max-width: 100%; }
  footer .container { flex-direction: column; gap: 11px; }
  .footer nav { flex-direction: column; gap: 7px; }
  .mobile-menu .mobile-nav { padding: 44px 12px 12px 18px;}
}
@media (max-width: 480px) {
  h1, h2 { font-size: 1.04rem; }
  footer .container {
    flex-direction: column; gap: 8px; font-size: 0.92rem;
    padding-left: 4px; padding-right: 4px;
  }
  .cookie-modal-inner { padding: 15vw 4vw 12vw 5vw; font-size: 0.97rem;}
}

/* --- MICRO-INTERACTIONS/TRANSITIONS --- */
main a, .cta-btn, button, .cookie-banner button, .cookie-banner .cookie-settings-btn {
  transition: color 0.16s, background 0.18s, box-shadow 0.18s, transform 0.10s;
}

/* --- MISC --- */
::-webkit-scrollbar {
  width: 9px;
  background: #f2f6fb;
}
::-webkit-scrollbar-thumb {
  background: #dfe6ef;
  border-radius: 5px;
}

/* --- VISUAL HIERARCHY: ELEVATION, SHADOWS, SPACING --- */
.card, .testimonial-card, .section, section {
  margin-bottom: 36px;
  box-shadow: 0 2px 12px 0 rgba(32,44,57,0.07);
}

/* --- CRITICAL SPACING & FLEX --- */
.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; }

/* --- VISUALLY HIDE --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- Z-INDEX LAYERS --- */
header { z-index: 1002; }
.mobile-menu { z-index: 1010; }
.cookie-banner { z-index: 2000; }
.cookie-modal { z-index: 2100; }

/* --- UTILS --- */
.mt-0 { margin-top:0 !important; }
.mb-0 { margin-bottom:0 !important; }
.mb-10 { margin-bottom:10px !important; }
.mb-16 { margin-bottom:16px !important; }
.mb-24 { margin-bottom:24px !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
