/* LSPA hero */

.lspa-hero {
  position: relative;
  background: #1a2340;
  margin-top: 0;
  overflow: hidden;
}

.lspa-hero .hero__slider.swiper-container {
  height: calc(100vh - var(--lspa-topbar-h, 36px) - var(--lspa-bar-h, 84px));
  min-height: 560px;
  margin: 0;
}

.lspa-hero .hero__slide {
  overflow: hidden;
  height: 100%;
}

.lspa-hero .hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.lspa-hero .hero__bg {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 7s ease-out;
}

.lspa-hero .swiper-slide-active .hero__bg {
  transform: scale(1);
}

.lspa-hero .hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 24, 44, 0.92) 0%, rgba(18, 24, 44, 0.72) 48%, rgba(18, 24, 44, 0.28) 100%),
    linear-gradient(180deg, rgba(18, 24, 44, 0.2) 0%, rgba(18, 24, 44, 0.45) 100%);
  pointer-events: none;
}

.lspa-hero .hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 5.5rem;
}

.lspa-hero .hero__content {
  position: relative;
  max-width: 680px;
  padding-left: 28px;
}

.lspa-hero .hero__content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--lspa-blue, #1e5aa8), var(--lspa-red, #c41e3a));
}

.lspa-hero .hero__eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 1.1rem;
}

.lspa-hero .hero__index {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #c9a227;
}

.lspa-hero .hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(30, 90, 168, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.lspa-hero .hero__kicker i {
  color: #c9a227;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.lspa-hero .swiper-slide-active .hero__kicker i {
  animation: heroIconPulse 2.4s ease-in-out infinite;
}

.lspa-hero .hero__title {
  font-size: clamp(1.7rem, 3.4vw, 3.15rem);
  font-weight: 700;
  line-height: 1.18;
  color: #fff;
  margin: 0 0 1.1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.lspa-hero .hero__title em {
  font-style: normal;
  color: #ff5a73;
  background: linear-gradient(90deg, #c41e3a, #ff7a8c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lspa-hero .hero__lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 1.75rem;
  max-width: 540px;
}

.lspa-hero .hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.lspa-hero .hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none !important;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

.lspa-hero .hero__btn-icon {
  font-size: 12px;
  transition: transform 0.28s ease;
}

.lspa-hero .hero__btn--primary {
  color: #fff;
  background: var(--lspa-blue, #1e5aa8);
  box-shadow: 0 8px 22px rgba(30, 90, 168, 0.38);
}

.lspa-hero .hero__btn--primary:hover,
.lspa-hero .hero__btn--primary:focus-visible {
  color: #fff;
  background: #163f78;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(30, 90, 168, 0.5);
}

.lspa-hero .hero__btn--primary:hover .hero__btn-icon,
.lspa-hero .hero__btn--primary:focus-visible .hero__btn-icon {
  transform: translateX(5px);
}

.lspa-hero .hero__btn--secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}

.lspa-hero .hero__btn--secondary:hover,
.lspa-hero .hero__btn--secondary:focus-visible {
  color: #fff;
  background: var(--lspa-red, #c41e3a);
  border-color: var(--lspa-red, #c41e3a);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(196, 30, 58, 0.4);
}

.lspa-hero .hero__btn--secondary:hover .hero__btn-icon,
.lspa-hero .hero__btn--secondary:focus-visible .hero__btn-icon {
  transform: translateY(-1px) scale(1.1);
}

.lspa-hero .swiper-slide-active .hero__eyebrow {
  animation: heroInUp 0.55s ease both;
}

.lspa-hero .swiper-slide-active .hero__title {
  animation: heroInUp 0.65s ease 0.08s both;
}

.lspa-hero .swiper-slide-active .hero__lead {
  animation: heroInUp 0.65s ease 0.16s both;
}

.lspa-hero .swiper-slide-active .hero__buttons .hero__btn:first-child {
  animation: heroInUp 0.55s ease 0.26s both;
}

.lspa-hero .swiper-slide-active .hero__buttons .hero__btn:last-child {
  animation: heroInUp 0.55s ease 0.34s both;
}

@keyframes heroInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroIconPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.lspa-hero .hero__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px 0 43px;
}

.lspa-hero .hero__arrow {
  position: static;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.lspa-hero .hero__arrow:hover,
.lspa-hero .hero__arrow:focus-visible {
  background: var(--lspa-blue, #1e5aa8);
  border-color: var(--lspa-blue, #1e5aa8);
  transform: scale(1.08);
}

.lspa-hero .hero__arrow i {
  font-size: 14px;
}

.lspa-hero .hero__pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lspa-hero .hero__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  transition: width 0.3s ease, background 0.3s ease;
}

.lspa-hero .hero__pagination .swiper-pagination-bullet-active {
  width: 28px;
  background: linear-gradient(90deg, #1e5aa8, #c41e3a);
}

.lspa-hero .hero__fraction {
  margin: 0 0 0 auto;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.lspa-hero .hero__fraction-current {
  color: #fff;
}

.lspa-hero .hero__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 7;
}

.lspa-hero .hero__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #1e5aa8, #c41e3a);
}

.lspa-hero .hero__progress span.is-running {
  animation: heroProgress 6.5s linear forwards;
}

@keyframes heroProgress {
  from { width: 0; }
  to { width: 100%; }
}

.lspa-hero .hero__scroll {
  position: absolute;
  right: 28px;
  bottom: 36px;
  z-index: 8;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.2);
  animation: heroScrollBounce 2s ease-in-out infinite;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.lspa-hero .hero__scroll:hover,
.lspa-hero .hero__scroll:focus-visible {
  background: var(--lspa-red, #c41e3a);
  border-color: var(--lspa-red, #c41e3a);
  animation: none;
  transform: translateY(2px);
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

@media (max-width: 991px) {
  .lspa-hero .hero__slider.swiper-container {
    height: auto;
    min-height: 560px;
  }

  .lspa-hero .hero__content {
    max-width: 100%;
    padding-left: 18px;
  }

  .lspa-hero .hero__title {
    font-size: clamp(1.45rem, 6vw, 2.1rem);
  }

  .lspa-hero .hero__lead {
    font-size: 0.98rem;
  }

  .lspa-hero .hero__controls {
    padding-left: 33px;
    bottom: 22px;
  }

  .lspa-hero .hero__fraction {
    display: none;
  }

  .lspa-hero .hero__scroll {
    right: 16px;
    bottom: 78px;
  }
}

@media (max-width: 640px) {
  .lspa-hero .hero__buttons {
    width: 100%;
  }

  .lspa-hero .hero__btn {
    width: 100%;
    justify-content: center;
  }
}
