/* Homepage carousel */
.home-carousel-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 32px auto 48px;
}

.hcv2-hero {
  position: relative;
  overflow: hidden;
  min-height: 530px;
  border-top: 4px solid #ee4743;
  background: #031124;
  box-shadow: 0 22px 42px rgba(5, 22, 45, 0.2);
}

.hcv2-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  padding: 66px 7%;
  opacity: 0;
  background-position: center;
  background-size: cover;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

.hcv2-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.hcv2-copy {
  position: relative;
  z-index: 1;
  max-width: 455px;
  color: #fff;
}

.hcv2-kicker {
  margin: 0 0 16px;
  color: #78d9ee;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hcv2-copy h1 {
  max-width: 440px;
  margin: 0;
  color: #fff;
  font-size: 54px;
  line-height: 1.01;
  letter-spacing: 0;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

.hcv2-copy > p:not(.hcv2-kicker) {
  max-width: 420px;
  margin: 20px 0 28px;
  color: #d4e4ee;
  font-size: 17px;
  line-height: 1.55;
}

.hcv2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hcv2-button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.hcv2-button--main {
  background: #00c8ed;
  color: #002f5f;
  box-shadow: 0 8px 20px rgba(0, 200, 237, 0.24);
}

.hcv2-button--line {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(0, 24, 53, 0.18);
}

.hcv2-button:hover,
.hcv2-button:focus {
  transform: translateY(-1px);
}

.hcv2-button:focus,
.hcv2-arrow:focus,
.hcv2-dot:focus {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hcv2-controls {
  position: absolute;
  z-index: 3;
  right: 34px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hcv2-count {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hcv2-count span {
  color: #91a7b9;
}

.hcv2-arrow {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  background: rgba(0, 15, 35, 0.35);
  color: #fff;
  cursor: pointer;
  font-size: 25px;
  line-height: 28px;
}

.hcv2-arrow:hover,
.hcv2-arrow:focus {
  border-color: #00c8ed;
  color: #00d0f4;
}

.hcv2-dots {
  position: absolute;
  z-index: 3;
  bottom: 46px;
  left: 7%;
  display: flex;
  gap: 8px;
}

.hcv2-dot {
  width: 34px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
}

.hcv2-dot.is-active {
  background: #00c8ed;
}

@media (max-width: 720px) {
  .home-carousel-wrap {
    margin-top: 18px;
    margin-bottom: 38px;
  }

  .hcv2-hero {
    min-height: 572px;
  }

  .hcv2-slide {
    align-items: flex-end;
    padding: 45px 28px 78px;
    background-position: 74% center;
  }

  .hcv2-copy h1 {
    margin-bottom: 26px;
    font-size: 39px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
  }

  .hcv2-copy > p:not(.hcv2-kicker),
  .hcv2-kicker {
    display: none;
  }

  .hcv2-button {
    min-height: 43px;
    padding: 0 16px;
    font-size: 13px;
  }

  .hcv2-dots {
    bottom: 30px;
    left: 28px;
  }

  .hcv2-controls {
    right: 22px;
    bottom: 20px;
  }

  .hcv2-count {
    display: none;
  }
}

@media (max-width: 420px) {
  .hcv2-hero {
    min-height: 530px;
  }

  .hcv2-slide {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hcv2-copy h1 {
    font-size: 34px;
  }

  .hcv2-actions {
    gap: 8px;
  }

  .hcv2-button {
    padding: 0 13px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hcv2-slide,
  .hcv2-button {
    transition: none;
  }
}
