/* ---- 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #fff;
}
body {
  line-height: 1.7;
  font-family: 'Roboto', Arial, sans-serif;
  color: #111;
  background: #fff;
}
img, picture, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
a {
  color: #17335F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4B942;
  outline: none;
}

/* ---- BRAND & TYPOGRAPHY ---- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600|Roboto:400,500,700&display=swap');
body, button, input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #111;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; letter-spacing: -0.5px; }
h4 { font-size: 1.1rem; margin-bottom: 6px; }
p, ul, ol, li { font-size: 1rem; }
section ul, section ol { margin-bottom: 10px; }
strong, b { font-weight: 600; }
.text-section > ul, .text-section > ol { margin-bottom: 16px; }

/* ---- CONTAINERS AND LAYOUTS ---- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(17,17,17,0.06);
  padding: 28px;
}
.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: 14px;
  padding: 20px;
  margin-bottom: 20px;
  background: #f9f9f9;
  border-left: 4px solid #17335F;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.04);
  color: #161616;
  max-width: 540px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.03);
  padding: 24px 20px;
  min-width: 220px;
  flex: 1 1 240px;
  max-width: 300px;
}
.feature-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 6px;
  filter: grayscale(100%);
}

/* ---- HEADER & NAVIGATION ---- */
header {
  background: #fff;
  border-bottom: 1px solid #ececec;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #111;
  padding: 7px 12px;
  border-radius: 6px;
  transition: background 0.14s,color 0.14s;
}
header nav a:hover, header nav a:focus {
  background: #17335F;
  color: #fff;
}
.btn-primary {
  background: #17335F;
  color: #fff !important;
  border: none;
  border-radius: 7px;
  padding: 10px 28px;
  font-size: 1.08rem;
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  box-shadow: 0 2px 8px 0 rgba(23,51,95,0.09);
  cursor: pointer;
  transition: background 0.18s,box-shadow 0.18s;
  margin-left: 12px;
  outline: none;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #F4B942;
  color: #111 !important;
  box-shadow: 0 4px 16px 0 rgba(244,185,66,0.18);
}
.btn-secondary {
  background: #fff;
  color: #17335F !important;
  border: 2px solid #17335F;
  border-radius: 7px;
  padding: 10px 22px;
  font-size: 1.05rem;
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  display: inline-block;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #17335F;
  color: #fff !important;
  border-color: #17335F;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #17335F;
  padding: 8px 14px;
  cursor: pointer;
  z-index: 102;
  border-radius: 6px;
  margin-left: 10px;
  transition: background 0.18s,color 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #17335F;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,28,32,0.97);
  transition: transform 0.33s cubic-bezier(.86,0,.07,1), opacity 0.26s;
  transform: translateX(-100%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #fff;
  position: absolute;
  top: 24px;
  right: 26px;
  z-index: 2010;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #F4B942;
}
.mobile-nav {
  margin-top: 80px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  padding: 14px 0;
  width: 100%;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  border-bottom: 1px solid #292933;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F4B942;
  background: rgba(244,185,66,0.04);
}

/* Hide desktop nav on mobile */
@media (max-width: 992px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ---- MAIN, CARDS, TABLE ---- */
main {
  background: #fff;
  padding-top: 32px;
  padding-bottom: 32px;
}

.card, .feature-item {
  border: 1px solid #e5e5e5;
  background: #fafbfc;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 16px;
  font-size: 1rem;
  color: #111;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}
thead tr {
  background: #f5f5f5;
}
th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
}
th {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #17335F;
  background: #f2f4f8;
}
tr:last-child td {
  border-bottom: none;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.faq-item {
  background: #f8f8f9;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(17,17,17,0.04);
  padding: 18px 24px;
  border-left: 4px solid #17335F;
  margin-bottom: 6px;
}
.faq-item h3 {
  font-size: 1.10rem;
  margin-bottom: 8px;
  color: #17335F;
}
.faq-item p {
  font-size: 1rem;
  color: #222;
}

/* ---- FOOTER ---- */
footer {
  background: #171717;
  color: #e5e5e5;
  padding: 48px 0 16px;
  margin-top: 48px;
  border-top: 1px solid #232323;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
footer .content-wrapper {
  flex-direction: row;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #e5e5e5;
  font-family: 'Montserrat',sans-serif;
  font-size: 0.98rem;
  margin-bottom: 2px;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #F4B942;
}
footer .contact-short {
  flex: 1 1 240px;
  color: #bbb;
  font-size: 0.97rem;
  margin-top: 10px;
}
@media (max-width: 1100px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  footer nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }
}

/* ---- COOKIE CONSENT BANNER & MODAL ---- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #171717;
  color: #fff;
  z-index: 3500;
  padding: 28px 18px 24px 18px;
  box-shadow: 0 -2px 16px 0 rgba(23,51,95,0.14);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 1.03rem;
  animation: banner-slide 0.5s cubic-bezier(0.7,0,0.3,1);
}
@keyframes banner-slide {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  margin-left: 12px;
  min-width: 120px;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.14s;
}
.cookie-accept {
  background: #17335F;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #F4B942;
  color: #111;
  box-shadow: 0 2px 8px #F4B94233;
}
.cookie-reject {
  background: #e5e5e5;
  color: #111;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #ce1515;
  color: #fff;
}
.cookie-settings {
  background: transparent;
  color: #F4B942;
  border: 2px solid #F4B942;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #F4B942;
  color: #111;
}

.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,28,32,0.87);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.33s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  color: #111;
  border-radius: 16px;
  box-shadow: 0 12px 24px 0 rgba(23,51,95,0.21);
  max-width: 420px;
  width: 92vw;
  padding: 32px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modal-zoom 0.34s cubic-bezier(.77,0,.18,1);
}
@keyframes modal-zoom {
  0% { transform: scale(0.90); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.35rem;
  color: #17335F;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 0;
}
.cookie-category label {
  font-size: 1rem;
  color: #17335F;
  font-weight: 500;
  flex: 1 1 0;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #17335F;
}
.cookie-category input[disabled] {
  opacity: 0.7;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #17335F;
  cursor: pointer;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  color: #F4B942;
}

/* ---- MISC: ICONS, SHADOWS, ANIMATIONS ---- */
.feature-item, .card, .testimonial-card, .faq-item {
  box-shadow: 0 2px 10px 0 rgba(17,17,17,0.07);
  transition: box-shadow 0.18s;
}
.feature-item:hover, .feature-item:focus-within,
.card:hover, .card:focus-within,
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(17,17,17,0.11);
  z-index: 2;
}

.btn-primary, .btn-secondary {
  transition: background 0.16s, color 0.16s, box-shadow 0.17s;
  outline: none;
}
.btn-primary:focus-visible, .btn-secondary:focus-visible {
  box-shadow: 0 0 0 3px #F4B94277;
}

/* ---- ICONS in lists ---- */
.text-section ul li, .text-section ol li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.text-section ul img, .text-section ol img {
  width: 22px;
  height: 22px;
  display: inline-block;
  object-fit: contain;
  margin-right: 4px;
  filter: grayscale(100%);
  opacity: 0.87;
}

/* ---- SPACING EXTRAS ---- */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
@media (max-width: 768px) {
  .section, section {
    padding: 32px 0 0 0;
    margin-bottom: 40px !important;
  }
  .feature-grid, .testimonial-slider, .content-grid, .card-container, .content-wrapper {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
  }
  .text-image-section{
    flex-direction: column !important;
    gap: 18px !important;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 64px;
  }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 540px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.07rem; }
  body, p, ul, li, th, td { font-size: 0.97rem; }
  .btn-primary, .btn-secondary {
    padding: 10px 14px;
    font-size: 0.97rem;
  }
  .feature-item, .card, .testimonial-card { padding: 14px; }
  .container { padding: 0 8px; }
  .cookie-banner { font-size: 0.95rem; padding: 16px 6px 12px 6px; gap: 10px; }
  .cookie-modal-content { padding: 16px 9px 12px 9px; }
}

/* Ensure no overlap for all cards */
.card, .feature-item, .testimonial-card, .faq-item {
  margin-bottom: 20px;
}

/* ---- MONOCHROME SOPHISTICATED EFFECTS ---- */
.card, .feature-item, .faq-item {
  border: 1px solid #e5e5e9;
  background: #fafbfc;
  color: #161616;
}

.text-section, .faq-accordion {
  background: #fff;
  border-radius: 8px;
  padding: 8px 0 4px 0;
}

/* DRAMATIC CONTRAST FOR ACCENTS */
hr {
  border: none;
  border-top: 1px solid #17335F33;
  margin: 28px 0;
}

/* Make sure testimonial text is readable on any background */
.testimonial-card {
  background: #f9f9fa !important;
  color: #1e1e1e !important;
  border-left: 4px solid #17335F;
  box-shadow: 0 2px 8px #e5e5e5bb;
}

/* ---- FOCUS & MICRO-INTERACTIONS ---- */
a:focus-visible, button:focus-visible, .btn-primary:focus-visible {
  outline: 2px solid #F4B942;
  outline-offset: 2px;
  transition: outline 0.08s;
}
input:focus, textarea:focus, select:focus {
  border-color: #17335F;
  box-shadow: 0 0 0 2px #F4B94233;
}

/* ---- Z-INDEX LAYERING ----*/
header, .mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 3500; }
.cookie-modal { z-index: 4000; }

/* ---- END OF MONOCHROME SOPHISTICATED CSS ---- */