/*** CMS - Carrusel Index ***/
#index-carousel {
  margin-top: -100px;
}

/* Contenedor del slide */
#index-carousel .splide__slide {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

#index-carousel .splide__slide::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    var(--white) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Imagen de fondo responsiva */
.slide-bg,
.slide-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

/* Capa de contenido encima */
.slide-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 0 1rem;
  max-width: 1140px;
  height: 100%;
  color: #fff;
  z-index: 2;
}

/* Alineación horizontal según modelo */
.slide-content.start {
  align-items: flex-start;
  text-align: left;
}
.slide-content.center {
  align-items: center;
  text-align: center;
}
.slide-content.end {
  align-items: flex-end;
  text-align: right;
}

/* Tipografía */
.slide-slogan {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
}
.slide-title {
  margin: 0.5rem 0;
  font-size: 2.5rem;
}

.slide-desc {
  margin-bottom: 1rem;
  max-width: 80%;
  font-size: 1rem;
}

/* Buttons */
.slide-buttons {
  margin-top: 1rem;
}
.slide-buttons a {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.75rem 1.5rem;
  color: var(--white);
  text-decoration: none;
  border: 1px solid var(--white);
  border-radius: .25rem;
  transition: 0.2s;
}
.slide-buttons a:hover {
  background-color: rgba(0, 0, 0, 0);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
