/* 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; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #fff;
  color: #111;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #193C54;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus { color: #23A39D; text-decoration: underline; }
ul, ol { padding-left: 22px; margin-bottom: 16px; }
strong, b { font-weight: bold; }
img { max-width: 100%; height: auto; vertical-align: middle; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
  color: #111;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; line-height: 1.18; }
h2 { font-size: 2rem; margin-top: 16px; line-height: 1.22; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.18rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.92rem; }
p { margin-bottom: 16px; }
.text-section h2, .text-section h3 {
  color: #1a1a1a;
}

/* BASIC LAYOUT */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

main > section {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 24px rgba(40,50,60,0.05);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.04);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.text-section {
  padding: 0;
}

/* HEADER NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #f1f2f3;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding-top: 6px;
  padding-bottom: 6px;
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
}
.logo img {
  height: 42px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.3px;
  color: #222;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.18s, color 0.15s;
}
header nav a:hover,
header nav a:focus {
  background: #E5F3F7;
  color: #193C54;
}
.cta.primary {
  display: inline-block;
  padding: 12px 32px;
  background: #193C54;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 40px;
  box-shadow: 0 2px 12px rgba(25,60,84,0.12);
  border: none;
  outline: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.25s, box-shadow 0.2s, color 0.26s;
  margin-left: 18px;
}
.cta.primary:hover, .cta.primary:focus {
  background: #111;
  color: #23A39D;
  box-shadow: 0 6px 24px rgba(25,60,84,0.18);
}
.cta.secondary {
  display: inline-block;
  padding: 11px 27px;
  background: #fff;
  color: #193C54;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 30px;
  border: 1.7px solid #193C54;
  box-shadow: 0 2px 10px rgba(60,60,60,0.07);
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #193C54;
  color: #fff;
  border-color: #193C54;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  border: none;
  background: transparent;
  color: #193C54;
  cursor: pointer;
  border-radius: 6px;
  padding: 7px 12px;
  margin-left: 10px;
  transition: background 0.21s;
  z-index: 201;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E5F3F7;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 40px rgba(0,0,0,0.20);
  z-index: 2200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.68,-0.2,.46,1.2);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #193C54;
  cursor: pointer;
  margin: 18px 22px 0 0;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #E5F3F7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  margin: 46px 0 0 32px;
}
.mobile-nav a {
  font-size: 1.29rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #111;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 4px;
  transition: background 0.18s, color 0.14s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E5F3F7;
  color: #193C54;
}
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MAIN STRUCTURE & GENERIC FLEXBOX PATTERNS */
.feature-grid,
.client-logos,
.card-container,
.card-grid,
.content-grid,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid,
.client-logos {
  align-items: center;
  justify-content: flex-start;
}

.card-container { gap: 24px; }
.card {margin-bottom: 20px; position: relative; background: #f9f9f9; border-radius: 18px; box-shadow: 0 2px 12px rgba(39,44,49,0.07); }

.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: 12px;
  padding: 20px;
  margin-bottom: 20px;
  background: #f8f9fa;
  border-radius: 14px;
  box-shadow: 0 3px 18px rgba(25,60,84,0.04);
  border: 1px solid #ededed;
  transition: box-shadow 0.21s, background 0.18s;
}
.testimonial-card p {
  font-size: 1.14rem;
  color: #17212b;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card strong {
  font-family: 'Roboto', Arial, sans-serif;
  color: #193C54;
  font-size: 1rem;
  font-weight: 500;
}
.testimonial-card:hover {
  background: #fff;
  box-shadow: 0 6px 32px rgba(25,60,84,0.10);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 20px;
  background: #fcfcfc;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 245px;
  flex: 1 1 245px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(25,60,84,0.03);
  padding: 23px 18px 27px 18px;
  transition: box-shadow 0.18s, transform 0.15s;
  border: 1px solid #ededed;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 36px rgba(25,60,84,0.13);
  transform: translateY(-6px) scale(1.03);
}
.feature-grid img {
  width: 40px; height: 40px; margin-bottom: 8px; }
.feature-grid h3 { font-size: 1.16rem; margin-bottom: 7px; margin-top: 2px; color: #193C54; font-family: 'Montserrat', Arial, sans-serif;}
.feature-grid p { font-size: 1rem; color: #232B34; }

.client-logos img {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(25,60,84,0.03);
  margin-right: 6px;
  margin-bottom: 8px;
}

/* CARD & CONTENT GRIDS */
.card, .feature-item {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
  gap: 16px;
}

.content-wrapper > h1,
.content-wrapper > h2 {
  margin-bottom: 14px;
}

.content-wrapper > .feature-grid,
.content-wrapper > .testimonial-list,
.content-wrapper > .client-logos {
  margin-top: 16px;
}

/* ADDRESS/CUSTOM BLOCKS */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}
.address-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* FOOTER */
footer {
  background: #111217;
  color: #fff;
  padding-top: 44px;
  padding-bottom: 34px;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.06rem;
}
.footer-brand img {
  width: 38px; height: 38px;
}
.footer-nav,
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a,
.footer-meta a {
  color: #E5F3F7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 2px;
  letter-spacing: 0.02em;
  transition: color 0.13s;
}
.footer-nav a:hover, .footer-meta a:hover { color: #23A39D; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98rem;
}
.footer-contact img {
  display: inline-block;
  width: 17px;
  height: 17px;
  vertical-align: middle;
  margin-right: 6px;
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #21222a;
  width: 38px; height: 38px;
  border-radius: 50%;
  transition: background 0.18s;
}
.footer-social a:hover {
  background: #23A39D;
}
.footer-social img { width: 20px; height: 20px; }

/* BUTTONS (GENERAL) */
button, .cta {
  outline: none;
  border: none;
  cursor: pointer;
}

/* LISTS */
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}
ul li strong, ol li strong {
  font-weight: 600;
  color: #193C54;
}

/* MODALS & OVERLAYS (for Cookie Banner) */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 5555;
  width: 100%;
  background: #21222a;
  color: #fff;
  padding: 24px 18px 20px 18px;
  box-shadow: 0 -8px 36px rgba(25,60,84, 0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: slideUpBanner 0.6s cubic-bezier(.17,.67,.83,.67);
}
@keyframes slideUpBanner {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
  color: #fff;
  text-align: center;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
  justify-content: center;
}
.cookie-actions button {
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 20px;
  padding: 9px 28px;
  border: none;
  outline: none;
  margin-bottom: 0;
  transition: background 0.17s, color 0.19s;
}
.cookie-accept {
  background: #23A39D;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus { background: #193C54; color: #23A39D; }
.cookie-reject {
  background: #fff;
  color: #193C54;
  border: 1px solid #193C54;
}
.cookie-reject:hover, .cookie-reject:focus { background: #193C54; color: #fff; }
.cookie-settings {
  background: transparent;
  color: #fff;
  border: 1px solid #23A39D;
}
.cookie-settings:hover, .cookie-settings:focus { background: #23A39D; color: #fff; }

.cookie-modal-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(30,32,38,0.56);
  z-index: 8888;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInBackdrop 0.22s cubic-bezier(.18,.77,.21,1.01);
}
@keyframes fadeInBackdrop {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #1a1a1a;
  border-radius: 18px;
  max-width: 430px;
  width: 98%;
  padding: 32px 30px 22px 30px;
  box-shadow: 0 10px 54px rgba(25,60,84,0.17);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: popUpModal 0.31s cubic-bezier(.13,.82,.26,1.11);
}
@keyframes popUpModal {
  from { transform: translateY(80px) scale(.92); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 22px; top: 19px;
  background: transparent;
  border: none;
  color: #193C54;
  font-size: 1.7rem;
  cursor: pointer;
  border-radius: 5px;
  padding: 4px 10px;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus { background: #E5F3F7; }
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.cookie-category label {
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #1a1a1a;
}
.cookie-switch {
  width: 42px;
  height: 24px;
  position: relative;
  display: inline-block;
}
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  border-radius: 14px;
  transition: background 0.16s;
}
.cookie-switch input:checked + .cookie-slider {
  background-color: #23A39D;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 3px; bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.16s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}

/* ANIMATIONS */
.cta.primary, .cta.secondary, .footer-social a, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.24s, background 0.2s, color 0.22s, transform 0.14s;
}

/* SPACING RULES */
.section,
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container { 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; }

main > section:last-of-type { margin-bottom: 0; }

/* RESPONSIVE DESIGN: MOBILE FIRST */
@media (max-width: 1100px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 95vw; }
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .feature-grid, .client-logos,
  .card-container, .card-grid, .content-grid, .testimonial-list {
    flex-direction: column;
    gap: 17px;
  }
  .feature-grid > div {
    min-width: unset;
    width: 100%;
  }
  .text-image-section { flex-direction: column; gap: 24px; }
  .footer-nav,
  .footer-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 11px;
  }
  .footer-contact { font-size: 0.93rem; }
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.18rem; }
  .cookie-modal { max-width: 95vw; padding: 18px 8px; }
}
/* Hide mobile menu close on desktop */
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ACCESSIBLE FOCUS STATES */
a:focus, button:focus, .cta:focus, .mobile-menu-close:focus {
  outline: 2px solid #23A39D;
  outline-offset: 2px;
}

/* TABLES (just for privacy/gdpr pages) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
th, td {
  border: 1px solid #e5e5e5;
  padding: 7px 12px;
  text-align: left;
}

/* CUSTOM UTILITY CLASSES */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* END */