/* =======================================
   HSGY Slider Nativo - estilo profesional
   (centrado en container, overlay + texto)
   ======================================= */

#home-slider{
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #d9dde2; /* fallback */
  border-radius: 0;    /* como la imagen */
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
}

@media (max-width: 992px){
  #home-slider{ height: 320px; }
}
@media (max-width: 576px){
  #home-slider{ height: 240px; }
}

/* Track y slides superpuestos */
#home-slider .hsgy-slider-track{
  position: absolute;
  inset: 0;
}

#home-slider .hsgy-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
}

#home-slider .hsgy-slide.is-active{
  opacity: 1;
}

/* Link e imagen */
#home-slider .hsgy-slide-link{
  display:block;
  width:100%;
  height:100%;
  text-decoration:none !important;
  color: inherit !important;
}

#home-slider .hsgy-slide-img{
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.05);
}

/* Overlay suave como la imagen */
#home-slider .hsgy-slide::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.22) 45%,
    rgba(0,0,0,0) 75%
  );
  pointer-events:none;
}

/* ===== Barra/Caption: ahora es OVERLAY (no franja blanca) ===== */
#home-slider .slider-bar{
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 18px;
  z-index: 20;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;

  padding: 0;
  background: transparent;
  border: 0;
}

/* Texto abajo-izquierda */
#home-slider #sliderTitle{
  color: #fff;
  font-weight: 700;
  font-size: 1.45rem;   /* 👈 MÁS PEQUEÑO */
  line-height: 1.25;
  margin: 0;
  text-shadow: 0 6px 18px rgba(0,0,0,.35);
}

#home-slider #sliderSubtitle{
  margin-top: 4px;
  max-width: 820px;
  color: rgba(255,255,255,.9);
  font-size: .95rem;   /* 👈 MÁS PEQUEÑO */
  line-height: 1.45;
  text-shadow: 0 6px 18px rgba(0,0,0,.35);
}


/* Responsive texto */
@media (max-width: 992px){
  #home-slider .slider-bar{ left: 16px; right: 16px; bottom: 14px; }
  #home-slider #sliderTitle{ font-size: 1.45rem; }
  #home-slider #sliderSubtitle{ font-size: .95rem; }
}

/* Dots abajo-izquierda (como la imagen) */
#home-slider .slider-controls{
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

#home-slider .slider-dots{
  display:flex;
  gap: 10px;
  align-items:center;
}

/* Botón dot */
#home-slider .slider-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255,255,255,.55);
  transition: transform .2s ease, background .2s ease;
}

#home-slider .slider-dot.is-active{
  background: #fff;
  transform: scale(1.15);
}
