:root {
  --ink: #17232f;
  --blue: #0f416e;
  --teal: #55d8c9;
  --cream: #f8f6f0;
  --muted: #68737b;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.7;
}
h1,h2,h3,p {
  margin-top: 0;
}
h1,h2,h3,.brand {
  font-family: Outfit, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
.announcement {
  height: 34px;
  background: #102e4b;
  color: #d5eff0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.02em;
  gap: 8px;
}
.announcement a {
  color: var(--teal);
  font-weight: 700;
}

.header-section{
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--cream);
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.nav-shell {
  max-width: 1180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.brand img {
  display: block;
  width: 178px;
  height: auto;
  max-height: 100px;
  object-fit: contain;
}

.nav-shell nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}
.nav-shell nav > a:not(.nav-cta) {
  color: #4e5a62;
}
.nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 12px 17px;
  border-radius: 99px;
}
.nav-cta span {
  color: var(--teal);
  padding-left: 8px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 24px;
}

.breadcrumbs {
    padding: 14px 20px;
    border-bottom: 1px solid #edf0f2;
}

.breadcrumbs .page-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    font-size: 13px;
    color: #737c87;
}

.breadcrumbs a {
    color: #59636f;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #1596c7;
}

.breadcrumbs span:last-child {
    color: #8a929c;
}

footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 37px 28px;
  display: flex;
  align-items: top;
  justify-content: space-between;
  color: #617078;
  font-size: 14px;
}

footer p {
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px; 
}
.footer-nav span {
  font-weight: 600; 
  color: rgb(44, 44, 44)078;  
}   

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-nav a {
  color: inherit;
  text-decoration: none;
}
.footer-nav a:hover {
  text-decoration: underline;
}

footer address {
  font-style: normal;
  text-align: right;
  line-height: 1.6;
}
footer a {
  text-decoration: underline;
}

.page-container {
    max-width: 1180px;
    margin: 0 auto;
}

.open-demo-btn {
  cursor: pointer;
}

.lead-modal {
  background: #fff; 
  color: #173650; 
  border: none;
  border-radius: 8px;
  padding: 0;
  max-width: 550px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.lead-modal::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-wrapper {
  position: relative;
  padding: 40px 28px 15px;
  background: #fff;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #617078;
  line-height: 1;
}

.lead-form h3 { 
  margin: 0; 
  font: 600 25px/1.1 Outfit, sans-serif; 
}

.lead-form > p:not(.lead-form-status) { 
  color: #617078; 
  font-size: 13px; 
  margin: 8px 0 18px; 
}

.lead-form-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 12px; 
}
.lead-form label { 
  display: grid; 
  gap: 5px; 
  color: #425664; 
  font-size: 11px; 
  font-weight: 700; 
}
.lead-form input:not([type="checkbox"]), .lead-form select, .lead-form textarea { 
  width: 100%; 
  box-sizing: border-box; 
  border: 1px solid #cbd6da; 
  border-radius: 5px; 
  padding: 10px; 
  color: #173650; 
  font: 400 14px DM Sans, sans-serif; 
  background: #fff; 
}
.lead-form textarea { resize: vertical; }
.lead-form-full { grid-column: 1 / -1; }
.lead-consent { margin: 14px 0; grid-template-columns: auto 1fr; align-items: start; line-height: 1.35; }
.lead-consent input { margin: 2px 0 0; }
.lead-submit { border: 0; width: 100%; border-radius: 5px; padding: 12px 16px; color: #fff; background: #e66a52; cursor: pointer; font: 700 14px DM Sans, sans-serif; }
.lead-submit:hover { background: #cf5b45; }
.lead-submit:disabled { opacity: .65; cursor: wait; }
.lead-form-status { min-height: 18px; margin: 10px 0 0; color: #1e7f60; font-size: 12px; font-weight: 700; }
.lead-form-status.error { color: #b33c35; }
.lead-trap {
  display: none !important;
}

.lead-success-msg {
  text-align: center;
  padding: 20px 0;
}
.success-icon {
  width: 60px;
  height: 60px;
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
  font-size: 30px;
  line-height: 60px;
  border-radius: 50%;
  margin: 0 auto 20px;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px; 
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background-color: var(--blue);
  border-radius: 6px; 
  border: 3px solid var(--cream);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--ink);
}

@supports (scrollbar-color: auto) {
  html {
    scrollbar-color: var(--blue) var(--cream);
    scrollbar-width: auto;
  }
}

/* ============ COMMON IMAGE VIEWER ============ */
#commonImageViewer {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;

    transition: opacity 0.2s ease;
}

#commonImageViewer.civ-visible {
    opacity: 1;
}

/* Background */

#commonImageViewer .civ-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.88);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    cursor: zoom-out;
}


/* Image container */

#commonImageViewer .civ-container {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px 30px;
}


/* Image */

#commonImageViewer .civ-image {
    position: relative;
    z-index: 2;

    max-width: 95vw;
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);

    user-select: none;
}


/* Close button */

#commonImageViewer .civ-close {
    position: absolute;

    top: 18px;
    right: 22px;

    z-index: 10;

    width: 44px;
    height: 44px;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);

    color: #fff;

    font-size: 32px;
    line-height: 40px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


#commonImageViewer .civ-close:hover {
    background: rgba(255, 255, 255, 0.25);

    transform: scale(1.08);
}

@media (max-width: 760px) {
  .announcement{
    display: none;
  }

  .header-section{    
      border-bottom-left-radius: 5px;
      border-bottom-right-radius: 5px;
  }
  .brand img {
      width: 150px;
      max-height: 60px;
  }
  .menu-toggle {
      display: block;
  }
  .nav-shell nav {
      display: none;
      position: absolute;
      top: 79px;
      left: 0;
      right: 0;
      background: #fff;
      padding: 20px;
      z-index: 10;
      flex-direction: column;
      align-items: stretch;
      box-shadow: 0 12px 20px #0001;
  }
  .nav-shell nav.open {
      display: flex;
  }
  .nav-shell nav {
      top: 79px;
  }
  .breadcrumbs{
    display: none;
  }

  footer {
      padding: 30px 22px;
      display: grid;
      gap: 18px;
  }

  .footer-nav ul {
      flex-direction: column;
      gap: 10px;
  }
  footer address {
      text-align: left;
  }

  .lead-form-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
  }

  #commonImageViewer .civ-container {
        padding: 55px 15px 20px;
    }

  #commonImageViewer .civ-image {
      max-width: 96vw;
      max-height: 85vh;

      border-radius: 5px;
  }

  #commonImageViewer .civ-close {
      top: 12px;
      right: 12px;

      width: 40px;
      height: 40px;

      font-size: 28px;
  }
}
