.cobalt-hero-slider {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #f7fbff;
  font-family: inherit;
}
.cobalt-hero-slider * {
  box-sizing: border-box;
}
.cobalt-hero-slide {
  position: absolute;
  inset: 0;
  min-height: 500px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: opacity var(--cobalt-transition, 0.6s) ease,
    transform var(--cobalt-transition, 0.6s) ease,
    visibility var(--cobalt-transition, 0.6s) ease;
  background: var(--cobalt-slide-bg, #f7fbff);
}
.cobalt-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  z-index: 2;
}
.cobalt-hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.cobalt-hero-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 41, 84, 0.08),
    rgba(0, 55, 130, 0.02)
  );
}
.cobalt-hero-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    #fff 0%,
    #fff 34%,
    #f9fcff 43%,
    color-mix(in srgb, var(--cobalt-wash, #e8f6ff) 96%, transparent) 51%,
    rgba(132, 202, 255, 0.84) 60%,
    rgba(16, 117, 242, 0.16) 69%,
    transparent 72%
  );
  clip-path: polygon(0 0, 53% 0, 81% 100%, 0 100%);
}

.cobalt-hero-inner {
  position: relative;
  z-index: 3;
  min-height: 500px;
  display: flex;
  align-items: center;
  width: min(1254px, 100%);
  margin: 0 auto;
  padding: 54px 24px 70px;
}
.cobalt-hero-copy {
  width: min(100%, 560px);
}
.cobalt-hero-title {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -1.2px;
  color: #0a0a0a;
}
.cobalt-hero-title span {
  display: block;
  margin-top: 6px;
  color: #0868ff;
}
.cobalt-hero-description {
  max-width: 530px;
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.6;
  color: #242424;
}
.cobalt-hero-description p {
  margin: 0;
}
.cobalt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cobalt-hero-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: 0.25s ease;
}
.cobalt-primary-btn {
  background: #0868ff;
  border-color: #0868ff;
  color: #fff;
}
.cobalt-primary-btn:hover {
  background: #0050d4;
  color: #fff;
}
.cobalt-secondary-btn {
  background: transparent;
  border-color: #0868ff;
  color: #0868ff;
}
.cobalt-secondary-btn:hover {
  background: #0868ff;
  color: #fff;
}
.cobalt-slider-dots {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
}
.cobalt-slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #a9c7e8;
  cursor: pointer;
  transition: 0.25s ease;
}
.cobalt-slider-dot.is-active {
  width: 28px;
  background: #0868ff;
}
.cobalt-slider-arrows {
  position: absolute;
  z-index: 10;
  inset: 0;
  pointer-events: none;
}
.cobalt-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #0868ff;
  background: #fff;
  color: #0868ff;
  font-size: 27px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 6px 20px rgba(0, 58, 126, 0.12);
  transition: 0.25s ease;
}
.cobalt-slider-arrow:hover {
  background: #0868ff;
  color: #fff;
}
.cobalt-prev {
  left: 20px;
}
.cobalt-next {
  right: 20px;
}
@media (max-width: 767px) {
  .cobalt-hero-slider,
  .cobalt-hero-slide,
  .cobalt-hero-inner {
    min-height: 650px;
  }
  .cobalt-hero-inner {
    align-items: flex-start;
    padding-top: 42px;
  }
  .cobalt-hero-photo {
    inset: auto 0 0 0;
    width: 100% !important;
    height: 47%;
  }
  .cobalt-hero-wash {
    clip-path: none;
    background: linear-gradient(
      to bottom,
      #fff 0%,
      #fff 44%,
      rgba(245, 251, 255, 0.98) 52%,
      color-mix(in srgb, var(--cobalt-wash, #e8f6ff) 80%, transparent) 64%,
      transparent 76%
    );
  }
 
  .cobalt-hero-copy {
    width: 100% !important;
    max-width: 560px;
  }
  .cobalt-hero-title {
    font-size: clamp(31px, 8vw, 43px);
  }
  .cobalt-prev {
    left: 10px;
  }
  .cobalt-next {
    right: 10px;
  }
  .cobalt-slider-dots {
    bottom: 16px;
  }
}
@media (max-width: 480px) {
  .cobalt-hero-slider,
  .cobalt-hero-slide,
  .cobalt-hero-inner {
    min-height: 690px;
  }
  .cobalt-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .cobalt-hero-btn {
    width: 100%;
    max-width: 290px;
  }
  .cobalt-hero-photo {
    height: 43%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cobalt-hero-slide,
  .cobalt-slider-dot {
    transition: none !important;
  }
}
