/* ====================================================
   CSS RESET & BASE STYLES - Mobile First
   ==================================================== */
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, 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: #fff;
  color: #121212;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #171717;
  min-height: 100vh;
  line-height: 1.7;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #171717;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #17375E;
  outline-offset: 2px;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1em;
}
li+li {
  margin-top: 0.4em;
}
/* Typography scale */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #181818;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #212121;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #232323;
}
p {
  font-size: 1rem;
  margin-bottom: 1.2em;
}
strong {
  font-weight: 600;
}

/* ============ Layout Containers ============= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(31,36,40,0.07);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: center;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fafbfc;
  color: #222;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(30,30,32,0.10);
  padding: 32px 28px 28px 28px;
  min-width: 260px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 30px rgba(0,0,0,0.12);
  transform: translateY(-2px) scale(1.015);
}
.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;
  margin-bottom: 20px;
  background: #f5f5f5;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(34,34,36,0.08);
  font-size: 1.13rem;
  color: #1f2330;
  position: relative;
}
.testimonial-card p {
  font-style: italic;
  flex: 1;
  margin: 0 14px 0 0;
  color: #191919;
}
.testimonial-card cite {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #17375E;
  align-self: flex-end;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* ============ Header =============*/
header {
  width: 100%;
  padding: 22px 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(31,31,40,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 50;
}
header > a img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: none;
  margin-left: 32px;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #232323;
  font-weight: 500;
  margin: 0 5px;
  transition: color 0.16s;
  position: relative;
  padding: 6px 4px;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #17375E;
}
.cta-btn {
  background: #171717;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  padding: 13px 28px;
  margin-left: auto;
  transition: background 0.17s, color 0.17s, box-shadow 0.16s;
  box-shadow: 0 2px 16px rgba(23,55,94,0.05);
  letter-spacing: 0.01em;
  cursor: pointer;
  outline: none;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #232326;
  color: #fff;
  box-shadow: 0 4px 16px rgba(31,31,80,0.06);
}
.mobile-menu-toggle {
  margin-left: 16px;
  font-size: 2.1rem;
  line-height: 1;
  color: #17375E;
  background: none;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  z-index: 105;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ececec;
  color: #000;
}

/* ========== Mobile Menu ============= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(12,12,20,0.90);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.76,0.02,0.44,1.08);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.5rem;
  background: none;
  border: none;
  color: #fff;
  margin: 26px 32px 0 0;
  padding: 6px 13px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #ececec;
  color: #171717;
}
.mobile-nav {
  margin-top: 60px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1.3rem;
  padding: 12px 6px 12px 0;
  width: 100%;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 0 8px 8px 0;
  transition: background 0.16s, color 0.16s;
  margin-right: 28px;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #f2f2f2;
  color: #181818;
}

/* ========== Footer Styles ============ */
footer {
  background: #171717;
  color: #fafafa;
  padding: 48px 0 26px 0;
}
footer .container {
  align-items: flex-start;
}
footer a {
  color: #fafafa;
  transition: color 0.18s;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
footer a:hover, footer a:focus {
  color: #6FA8DC; /* branded secondary */
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0 8px 0;
}
.footer-nav {
  gap: 18px;
}
.legal-nav {
  margin-top: 0;
  gap: 16px;
  font-size: 0.92rem;
  color: #a0a0a0;
}
footer img {
  height: 32px;
  margin-bottom: 14px;
  filter: grayscale(1) brightness(2);
}
footer p {
  margin: 0 0 18px 0;
  font-size: 1.1rem;
  color: #fafafa;
}
footer address {
  margin-top: 16px;
  font-style: normal;
  font-size: 0.97rem;
  color: #e4e4e4;
}


/* =========== Lists & Content ============ */
ul, ol {
  color: #262626;
  font-size: 1.08rem;
  font-weight: 400;
  margin-bottom: 18px;
  line-height: 1.62;
}
li::marker { color: #151515; }
li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
li img {
  height: 20px;
  width: auto;
  margin-right: 2px;
  filter: grayscale(0.85) brightness(0.6);
}

/* ============= Forms / Buttons ============ */
button, .cta-btn {
  cursor: pointer;
  outline: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}

/* =========== Utility, Spacing, and Alignment Patterns ============ */
.gap-20 { gap: 20px!important; }
.gap-24 { gap: 24px!important; }
.mt-20 { margin-top: 20px!important; }
.mt-40 { margin-top: 40px!important; }
.mb-20 { margin-bottom: 20px!important; }
.mb-40 { margin-bottom: 40px!important; }

/* =========== Cookie Consent Banner =========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: #f5f5f5;
  color: #171717;
  box-shadow: 0 -2px 14px rgba(38,38,41,0.13);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  z-index: 1000;
  font-size: 1rem;
  opacity: 1;
  transition: opacity 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}
.cookie-btn,
.cookie-pref-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 7px;
  padding: 11px 22px;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.16s;
  min-width: 120px;
}
.cookie-btn.accept {
  background: #171717;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #17375E;
}
.cookie-btn.reject {
  background: #fff;
  color: #171717;
  border: 2px solid #171717;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #eee;
  color: #171717;
  border-color: #17375E;
}
.cookie-btn.settings {
  background: #f2f2f2;
  color: #151515;
  border: 1.5px solid #c3c3c3;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #e0e0e0;
  border-color: #17375E;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%) scale(1);
  background: #fff;
  color: #1a1a1a;
  border-radius: 14px;
  box-shadow: 0 4px 40px rgba(23,55,94,0.17);
  z-index: 1200;
  width: 88vw;
  max-width: 420px;
  padding: 36px 28px 32px 28px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.32s, transform 0.27s;
  display: none;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #17375E;
  margin-bottom: 10px;
}
.cookie-modal-close {
  position: absolute;
  right: 13px;
  top: 13px;
  background: none;
  color: #17375E;
  border: none;
  font-size: 1.9rem;
  cursor: pointer;
  padding: 0 6px;
  border-radius: 50%;
  transition: background 0.14s;
  z-index: 1300;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: #ececec; }
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  font-size: 1rem;
  border-bottom: 1px solid #efefee;
}
.cookie-toggle {
  width: 45px; height: 26px;
  appearance: none;
  background: #d6d6d8;
  border-radius: 15px;
  position: relative;
  outline: none;
  transition: background 0.2s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #17375E;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 22px; height: 22px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(60,60,70,0.09);
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.22s;
}
.cookie-toggle:checked:before {
  left: 21px;
}
.cookie-essential {
  font-size: 1rem;
  color: #858585;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .cookie-btn {
  min-width: 100px;
  padding: 10px 15px;
}

/* =========== Animations ============= */
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu,
  .cookie-modal {
    transition: transform 0.36s cubic-bezier(0.76,0.02,0.44,1.08), opacity 0.3s;
  }
}

/* ========== Responsive Breakpoints ============ */
@media (max-width: 1160px) {
  .container {
    max-width: 980px;
  }
}
@media (max-width: 980px) {
  .container {
    max-width: 92vw;
  }
  .section {
    padding: 30px 10px;
  }
}
@media (max-width: 768px) {
  header, .footer-nav, .legal-nav {
    flex-direction: column;
    align-items: flex-start! important;
  }
  .main-nav {
    display: none !important;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .card-container, .content-grid, .text-image-section, .testimonial-card {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch !important;
  }
  .section {
    margin-bottom: 38px;
    padding: 23px 6px;
  }
  .card {
    min-width: 0;
    padding: 20px 12px;
  }
  .testimonial-card {
    padding: 17px 8px;
    min-width: 0;
  }
  .cta-btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
    padding: 13px 0;
  }
  .feature-item {
    gap: 10px;
  }
}
@media (min-width: 820px) {
  .main-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    margin-left: 26px;
  }
  .mobile-menu-toggle {
    display: none;
  }
  header {
    flex-direction: row;
    justify-content: flex-start;
    gap: 26px;
  }
}

/* ================= END =================== */
