/* ==========================================================================
   Hero Principal con Carrusel de Video y Flechas Despejadas (main-slide.css)
   ========================================================================== */

.hero-interactive-wrapper {
  position: relative;
  min-height: 720px;
  width: 100%;
  display: flex;
  align-items: center;
  background-color: #021528;
}

/* Carrusel de Fondo en Full Width */
.hero-carousel-bg,
.hero-carousel-bg .carousel-inner,
.hero-carousel-bg .carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    105deg,
    rgba(2, 21, 40, 0.90) 0%,
    rgba(2, 21, 40, 0.62) 55%,
    rgba(2, 21, 40, 0.85) 100%
  );
  z-index: 2;
}

/* ==========================================================================
   Flechas Flotantes Circulares con Hitbox Compacto y Alto Z-Index (35)
   Evita que el buscador o video bloqueen los clics
   ========================================================================== */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  z-index: 35;
  background: rgba(1, 40, 80, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-nav-prev {
  left: 20px;
}

.carousel-nav-next {
  right: 20px;
}

.carousel-nav-btn:hover {
  background: var(--ismx-primary);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(1, 87, 155, 0.5);
}

.carousel-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* Contenedor Superior con Espaciado para no chocar con las flechas */
@media (min-width: 992px) {
  .hero-content-container {
    padding-left: 60px !important;
    padding-right: 60px !important;
  }
}

.min-vh-hero {
  min-height: 680px;
}

.hero-brand-top {
  margin-top: 5%;
}

.hero-brand-logo {
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.65));
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-heading {
  font-family: var(--ismx-font-family);
  letter-spacing: -0.5px;
}

.hero-heading strong {
  font-family: var(--ismx-font-headings);
  font-size: 1.15em;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-search-wrapper {
  width: 100%;
  max-width: 440px;
}

@media (min-width: 992px) {
  .hero-search-wrapper {
    margin-left: auto;
  }
}

@media (max-width: 991.98px) {
  .hero-interactive-wrapper {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
  .min-vh-hero {
    min-height: auto;
  }
  .hero-brand-top {
    margin-top: 1rem;
    text-align: center;
  }
  .hero-brand-logo {
    margin: 0 auto;
  }
  .hero-sales-block {
    text-align: center;
    margin-bottom: 2rem;
  }
  .hero-subtitle {
    margin: 0 auto 1.5rem auto;
  }
  .hero-search-wrapper {
    margin: 0 auto;
  }
}
