/* --- 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #18191A;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1C3A4D;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #111;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}
li {
  margin-bottom: .5em;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #101010;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}
h4, h5 {
  font-size: 1.1rem;
}
p, .text-section {
  font-size: 1.1rem;
  margin-bottom: 16px;
  line-height: 1.8;
}
strong {
  font-weight: 700;
}
.highlight {
  color: #1C3A4D;
  font-weight: bold;
  background: #F3F3F3;
  padding: 2px 8px;
  border-radius: 6px;
}
cite {
  font-style: normal;
  color: #636363;
  font-size: 0.95em;
  margin-left: 8px;
}

/* --- LAYOUT & CONTAINERS --- */
.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(24,25,26, 0.06);
}

/* --- FLEXBOX LAYOUTS --- */
.card-container, .feature-grid, .feature-list, .footer-nav, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-list {
  gap: 20px;
}
.card {
  margin-bottom: 20px;
  background: #fbfbfb;
  border-radius: 12px;
  box-shadow: 0 1px 10px 0 rgba(24,25,26,0.08);
  padding: 24px 20px 18px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  max-width: 340px;
}
.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: #F5F5F5;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 rgba(24,25,26,0.09);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fafafd;
  border-radius: 10px;
  padding: 20px;
}
.faq-snippet, .faq-accordion {
  margin-top: 22px;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 16px 0 rgba(24,25,26,0.07);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 15px 0;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #232323;
  padding: 8px 10px;
  position: relative;
  font-weight: 500;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F0F0F0;
  color: #1C3A4D;
}
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #222;
  color: #fff !important;
  padding: 12px 28px;
  border: none;
  border-radius: 25px;
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 24px 0 rgba(30,30,30, 0.05);
  cursor: pointer;
  margin-left: 18px;
  transition: background .22s, transform .2s, box-shadow .2s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1C3A4D;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 28px 0 rgba(45,45,45, 0.12);
  text-decoration: none;
}
.btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #fff;
  color: #202930 !important;
  border: 2px solid #1C3A4D;
  border-radius: 24px;
  padding: 11px 24px;
  font-size: 1.04rem;
  font-weight: 700;
  cursor: pointer;
  margin-left: 8px;
  transition: background .2s, color .2s, border .2s, transform .2s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #1C3A4D;
  color: #fff !important;
  border: 2px solid #232323;
  transform: translateY(-1px) scale(1.025);
}

/* --- TABLES --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  background: #fafbfc;
  border-radius: 8px;
  overflow: hidden;
  font-size: 1.06rem;
  box-shadow: 0 2px 10px 0 rgba(23,23,23,0.08);
}
th, td {
  padding: 16px 10px;
  text-align: left;
  border-bottom: 1px solid #e4e4e4;
}
th {
  background: #f3f3f3;
  color: #18191A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
}
tr:last-child td {
  border-bottom: none;
}
td img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  height: 26px;
  width: auto;
}
td.highlight, .highlight {
  color: #fff;
  background: #1C3A4D !important;
  border-radius: 7px;
  padding: 2px 8px;
  font-weight: 700;
}

/* --- ACCORDION --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-question {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  color: #171717;
  cursor: pointer;
  position: relative;
  background: none;
  border:none;
  outline: none;
  padding: 8px 0 8px 0;
  transition: color .18s;
}
.faq-question:hover, .faq-question.open {
  color: #1C3A4D;
}
.faq-answer {
  margin-left: 8px;
  color: #222;
  font-size: 1rem;
  margin-bottom: 8px;
  display: none;
}
.faq-question.open + .faq-answer {
  display: block;
}

/* --- FOOTER --- */
footer {
  background: #101010;
  color: #dedede;
  padding: 50px 0 24px 0;
  border-top: 5px solid #222;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #dedede;
  background: none;
  font-weight: 500;
  transition: color .19s;
  border-radius: 6px;
  padding: 6px 9px;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
  background: #232323;
}
footer img {
  height: 42px;
  margin-bottom: 8px;
}
footer .text-section {
  color: #bbbbbb;
  font-size: 0.97em;
}
footer .text-section img {
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  height: 19px;
  width: auto;
}

/* --- BUTTON ANIMATIONS & MICRO INTERACTIONS --- */
.btn-primary, .btn-secondary, .cookie-banner .btn, .cookie-modal .btn {
  transition: background .18s, color .18s, box-shadow .25s, transform .18s;
}

/* --- MOBILE MENU / HAMBURGER --- */
.mobile-menu-toggle {
  display: none;
  margin-left: 24px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #232323;
  cursor: pointer;
  z-index: 100;
  transition: color .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover { color: #1C3A4D; }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(18,19,20, 0.89);
  z-index: 1090;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.77,0,.18,1), opacity .25s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 24px 28px 18px 0;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: color .19s;
  z-index: 1091;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #7DBBC3;
}
.mobile-nav {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  background: transparent;
}
.mobile-nav a {
  width: 100%;
  background: transparent;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.24rem;
  letter-spacing: 0.01em;
  padding: 18px 30px 9px 35px;
  border-radius: 0 25px 25px 0;
  margin-bottom: 6px;
  transition: background .21s, color .17s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #101010;
  color: #7DBBC3;
  text-decoration: none;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #222;
  color: #fff;
  padding: 28px 24px 16px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  z-index: 1050;
  box-shadow: 0 -2px 24px 0 rgba(0,0,0,0.20);
  font-size: 1.06rem;
  animation: fadeInBanner .44s cubic-bezier(.52,0,.37,1) both;
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .btn {
  border-radius: 25px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  padding: 10px 26px;
  margin-left: 10px;
  margin-right: 0;
  background: #F5F5F5;
  color: #232323;
  cursor: pointer;
  transition: background .18s, color .18s, transform .12s;
}
.cookie-banner .btn.accept {
  background: #1C3A4D;
  color: #fff;
  margin-left: 28px;
}
.cookie-banner .btn.accept:hover, .cookie-banner .btn.accept:focus {
  background: #222;
  color: #FDF7F2;
}
.cookie-banner .btn.reject {
  background: #fff;
  color: #1C3A4D;
  border: 1px solid #1C3A4D;
}
.cookie-banner .btn.reject:hover, .cookie-banner .btn.reject:focus {
  background: #232323;
  color: #fff;
}
.cookie-banner .btn.settings {
  background: transparent;
  color: #7DBBC3;
  border: 1.5px solid #7DBBC3;
}
.cookie-banner .btn.settings:hover, .cookie-banner .btn.settings:focus {
  background: #7DBBC3;
  color: #232323;
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(19,20,22,0.77);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1060;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  color: #232323;
  max-width: 410px;
  width: 88vw;
  border-radius: 14px;
  padding: 34px 32px 20px 32px;
  box-shadow: 0 8px 52px 0 rgba(0,0,0,0.23);
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: popInModal .46s cubic-bezier(.58,1.6,.61,1) both;
  position: relative;
}
@keyframes popInModal {
  0% { transform: scale(.83); opacity: 0; }
  95% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  font-size: 2rem;
  background: none;
  color: #232323;
  border: none;
  cursor: pointer;
  transition: color .18s;
  z-index: 1062;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #1C3A4D;
}
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
}
.cookie-switch {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #DFDFDF;
  border-radius: 20px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .18s;
}
.cookie-switch:checked {
  background: #1C3A4D;
}
.cookie-switch:disabled {
  background: #E0E0E0;
  cursor: not-allowed;
}
.cookie-switch:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left .20s cubic-bezier(.22,1,.36,1), background .18s;
}
.cookie-switch:checked:before {
  left: 21px;
  background: #fff;
}
.cookie-modal .btn {
  border-radius: 25px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  padding: 11px 26px;
  margin-top: 12px;
  margin-bottom: 4px;
  background: #1C3A4D;
  color: #fff;
  cursor: pointer;
  transition: background .18s, color .18s, transform .12s;
}
.cookie-modal .btn.reject {
  background: #F3F3F3;
  color: #232323;
  border: 1px solid #7DBBC3;
  margin-left: 12px;
}
.cookie-modal .btn.reject:hover, .cookie-modal .btn.reject:focus {
  background: #232323;
  color: #fff;
}

/* --- FORMS --- */
form label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 8px;
}
form select, form input[type="text"], form input[type="email"], form input[type="number"], form textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 12px;
  border: 1.5px solid #e3e3e3;
  border-radius: 8px;
  background: #fbfbfb;
  color: #232323;
  margin-bottom: 13px;
  margin-top: 2px;
  transition: border .18s;
  outline: none;
}
form select:focus, form input:focus, form textarea:focus {
  border: 1.5px solid #7DBBC3;
}

/* --- LISTS & GRIDS --- */
ul.feature-grid, ul.feature-list {
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
ul.feature-grid li, ul.feature-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #F8F8F8;
  border-radius: 9px;
  padding: 14px 20px;
  font-size: 1.05rem;
  color: #1C3A4D;
  font-weight: 600;
}
ul.feature-grid li img, ul.feature-list li img {
  height: 34px;
  width: auto;
  margin-bottom: 0;
}

/* --- SPACING & VISUAL HIERARCHY --- */
main {
  min-height: 64vh;
  margin-top: 20px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:last-child {
  margin-bottom: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  .main-nav {
    gap: 12px;
    margin: 0 12px;
  }
}

@media (max-width: 950px) {
  .container {
    max-width: 94vw;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.67rem;
  }
  h2 {
    font-size: 1.26rem;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    width: 98vw;
    padding: 0 4vw 0 4vw;
  }
  .content-wrapper, .section {
    padding: 21px 8px;
    gap: 13px;
  }
  .card-container, .feature-grid, .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  ul.feature-grid, ul.feature-list {
    flex-direction: column;
    gap: 15px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 9px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .section {
    padding: 21px 3vw;
  }
}
@media (max-width: 545px) {
  h1 {
    font-size: 1.20rem;
  }
  .btn-primary, .btn-secondary {
    font-size: 1rem;
    padding: 10px 15px;
  }
  .cookie-banner {
     flex-direction: column;
     gap: 12px;
     font-size: .98rem;
     padding: 16px 9px 14px 9px;
  }
  .cookie-banner .btn {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 6px;
    width: 100%;
  }
}

/* --- MONOCHROME DRAMA ON CARDS & TESTIMONIALS --- */
.card, .testimonial-card, .feature-item {
  background: #fafafd;
  color: #191A1B;
  box-shadow: 0 2px 14px 0 rgba(23,23,21,0.07);
}
.testimonial-card p {
  color: #101114;
  font-size: 1.10rem;
  font-style: italic;
}

/* --- VISUAL ACCESSIBILITY FOR MONOCHROME SOPHISTICATION --- */
h1, h2, h3, h4, h5, th, strong, .main-nav a, .footer-nav a {
  color: #191B1C;
  font-family: 'Montserrat', Arial, sans-serif;
}
 
td, th {
  background: #fbfbfc;
}

/* --- MISC: ICONS, COLORS, UTILITIES --- */
img[alt*="icon-"] {
  opacity: 0.93;
}
.text-section a {
  text-decoration: underline;
  color: #222;
  transition: color .2s;
}
.text-section a:hover, .text-section a:focus {
  color: #1C3A4D;
}

/* --- Z-INDEX MANAGEMENT --- */
header { z-index: 30; }
.mobile-menu { z-index: 1090; }
.mobile-menu-close { z-index: 1092; }
.cookie-banner { z-index: 1050; }
.cookie-modal { z-index: 1060; }

/* --- FOCUS VISIBLE & ACCESSIBILITY --- */
:focus-visible {
  outline: 2.5px solid #7DBBC3;
  outline-offset: 2px;
}

/* --- PRINT OVERRIDE --- */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer {
    display: none !important;
  }
}
