@font-face {
  font-family: "Chivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/chivo-400.woff2") format("woff2");
}

@font-face {
  font-family: "Chivo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/chivo-700.woff2") format("woff2");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #07102a;
  background: #fff;
  font-family: "Chivo", Helvetica, Tahoma, Geneva, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.home-particles {
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: #07102a;
  text-decoration: none;
}

a:hover {
  color: #00a7e1;
}

button,
input {
  font-family: inherit;
}

h1, h2, h3, h4 {
  font-family: inherit;
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin: 0 0 1.3rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10002;
  background: #07102a;
  color: #fff;
  padding: 0.5rem 0.8rem;
}

.skip-link:focus {
  top: 0.5rem;
  color: #fff;
}

#particles-js {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#particles-js canvas {
  display: block;
}

.page-surround {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: relative;
}

@media (min-width: 1216px) {
  .site-header {
    padding-left: 15%;
    padding-right: 15%;
  }
}

.logo-wrap {
  margin: 0.625rem;
  padding: 1.5rem;
}

.logo {
  display: inline-block;
  line-height: 0;
}

.logo img {
  width: auto;
  max-width: 100%;
  height: auto;
}

.main-nav {
  margin: 0.625rem 3rem 0.625rem 0.25rem;
  padding: 1.5rem 3rem 1.5rem 1rem;
}

.toplevel,
.drawer-menu,
.has-sub ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toplevel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.toplevel > li {
  position: relative;
}

.toplevel > li > a,
.toplevel > li > button {
  display: inline-block;
  padding: 0.625rem 0.775rem;
  color: #07102a;
  background: transparent;
  border: 0;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
  cursor: pointer;
  text-align: left;
}

.toplevel > li.active > a,
.toplevel > li.active > button,
.toplevel > li > a[aria-current="page"] {
  font-weight: 700;
}

.toplevel > li > a:hover,
.toplevel > li > button:hover,
.toplevel > li > button:focus-visible {
  color: #00a7e1;
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.2rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: 2px;
}

.has-sub > ul {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  min-width: 16rem;
  width: max-content;
  max-width: min(36rem, 80vw);
  background: #07102a;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.35);
  padding: 0.35rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.has-sub:hover > ul,
.has-sub:focus-within > ul,
.has-sub.open > ul {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.has-sub > ul a {
  display: block;
  padding: 0.7rem 1rem 0.85rem;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.has-sub > ul a:hover,
.has-sub > ul a:focus-visible,
.has-sub > ul a[aria-current="page"] {
  color: #fff;
  background: rgba(72, 117, 255, 0.4);
}

.nav-toggle {
  display: none;
  position: absolute;
  top: 2.5rem;
  left: 1.1rem;
  z-index: 40;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: #07102a;
  cursor: pointer;
}

.nav-toggle-box {
  display: block;
  width: 22px;
  height: 16px;
  position: relative;
}

.nav-toggle-box span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #07102a;
}

.nav-toggle-box span:nth-child(1) { top: 0; }
.nav-toggle-box span:nth-child(2) { top: 7px; }
.nav-toggle-box span:nth-child(3) { top: 14px; }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(7, 16, 42, 0.35);
  z-index: 60;
}

.offcanvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  width: 13rem;
  height: 100%;
  overflow: auto;
  background: #00a7e1;
  color: #fff;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
}

.offcanvas-bar {
  display: flex;
  justify-content: flex-end;
  padding: 0.6rem 0.7rem 0;
}

.offcanvas-close {
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  cursor: pointer;
}

.drawer-menu > li > a,
.drawer-menu > li > button {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  text-align: left;
  font-size: 0.95rem;
  letter-spacing: 0.6px;
  cursor: pointer;
}

.drawer-menu > li > a:hover,
.drawer-menu > li > button:hover,
.drawer-menu a[aria-current="page"] {
  color: #fff;
  background: rgba(7, 16, 42, 0.18);
}

.drawer-menu .has-sub > ul {
  display: none;
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  width: auto;
  min-width: 0;
  max-width: none;
  background: rgba(7, 16, 42, 0.15);
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.drawer-menu .has-sub.open > ul {
  display: block;
}

.drawer-menu .has-sub > ul a {
  white-space: normal;
  color: #fff;
  padding: 0.75rem 1rem 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.slide-wrap {
  margin: 0.625rem;
  padding: 1.5rem;
}

.slideshow {
  height: 400px;
  border-radius: 0.5rem;
  overflow: hidden;
  transform: rotate(-1deg);
  background: #111;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
  will-change: transform;
}

.slide {
  min-width: 100%;
  height: 100%;
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.welcome {
  text-align: center;
  padding: 0.4rem 1rem 0.2rem;
  margin-bottom: 3.75rem;
}

.welcome-title {
  margin: 0.45rem 0 0.35rem;
  color: #00a7e1;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
}

.welcome-title a {
  color: #07102a;
}

.welcome-title a:hover {
  color: #00a7e1;
}

.welcome h3 {
  margin: 0.45rem 0;
  color: #07102a;
  font-size: 1.7rem;
  font-weight: 700;
}

.quote-line {
  margin: 0.35rem 0 0.6rem;
  font-size: 2rem;
  font-weight: 700;
}

.quote-line a {
  color: #07102a;
}

.quote-line a:hover {
  color: #00a7e1;
}

.banner a {
  display: block;
  line-height: 0;
}

.banner img {
  display: block;
  width: 100%;
  height: auto;
}

.banner-loose {
  margin: 0 3rem;
  padding: 3rem 1.5rem;
}

.banner-tight {
  margin: 0 3rem;
  padding: 1.5rem;
}

.banner-promo {
  margin: 0.625rem;
  padding: 0 1.5rem 1.5rem;
}

.page-main-wrap {
  flex: 1 0 auto;
}

@media (min-width: 1216px) {
  .page-main-wrap {
    padding-left: 10%;
    padding-right: 10%;
  }
}

.page-main {
  margin: 0.625rem;
  padding: 1.5rem;
}

.page-main-inner {
  padding-left: 12px;
  padding-right: 12px;
}

.page-body {
  padding-top: 2.4rem;
}

.page-title {
  margin: 0.3125rem 0 1rem;
  font-size: 1.3rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #07102a;
}

.missing-title {
  margin: 0.2rem 0 1.5rem;
  font-size: 2rem;
  font-weight: 700;
}

body.error-page .page-surround {
  background-color: #fff;
  background-image: url("../images/backgrounds/body/bg-01.svg");
  background-repeat: repeat-y;
  background-position: top center;
}

.sorry {
  margin: 0.625rem;
  padding: 1.5rem;
}

.sorry-card {
  background: #07102a url("../images/backgrounds/slideshow/bg-elements.svg") center / cover no-repeat;
  border-radius: 1rem;
  transform: rotate(-1deg);
  padding: 2.4rem 2.8rem 2.6rem;
  color: #fff;
}

.sorry-card h2 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
}

.sorry-card p {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
}

.section-title {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 2rem;
  color: #07102a;
}

.about-col {
  width: 50%;
  padding: 0 15px;
}

.about-logo {
  margin: 0.5rem 0 1rem;
  text-align: center;
}

.about-logo img {
  width: 300px;
  max-width: 100%;
  height: auto;
}

.figure {
  margin: 0 0 1.25rem;
  text-align: center;
}

.figure img {
  display: inline-block;
  width: auto;
  max-width: 100%;
  height: auto;
}

.service-list {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

.service-list li {
  margin: 0 0 0.45rem;
}

.service-list ul {
  margin: 0.35rem 0 0.2rem 1.2rem;
  padding: 0;
}

.fine-print {
  text-align: center;
  margin: 0.4rem 0 1.2rem;
}

.quote-action {
  margin: 0 0 1rem;
}

.btn-quote {
  display: inline-block;
  background: #3071ff;
  color: #fff;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
}

.btn-quote:hover,
.btn-quote:focus-visible {
  color: #fff;
  background: #1c5fe8;
}

.site-footer {
  background: #07102a;
  color: rgba(176, 184, 208, 0.5);
  text-align: center;
}

@media (min-width: 1216px) {
  .site-footer {
    padding-left: 10%;
    padding-right: 10%;
  }
}

.footer-inner {
  margin: 0.625rem;
  padding: 1.5rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #b0b8d0;
}

.site-footer a:hover {
  color: #d0d5e3;
}

@media (max-width: 815.98px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .logo-wrap {
    text-align: center;
  }

  .about-col {
    width: 100%;
    padding: 0;
  }

  .has-sub > ul {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slides,
  .has-sub > ul {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
