/*** CMS - Carrusel Index ***/
/* Contenedor del slide */
#index-hero .splide__slide {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
}

/* 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 {
  font-size: 1rem;
  text-transform: uppercase;
  margin: 0;
}
.slide-title {
  font-size: 2.5rem;
  margin: 0.5rem 0;
}
.slide-desc {
  font-size: 1rem;
  max-width: 80%;
  margin-bottom: 1rem;
}

/* Botones sin Bootstrap */
.slide-buttons a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  text-decoration: none;
  font-weight: 600;
  margin-right: 0.5rem;
  transition: opacity 0.2s;
}
.slide-buttons a:hover {
  opacity: 0.8;
}

.btn-primary {
  background-color: #007bff;
  color: #fff;
}
.btn-secondary {
  background-color: #6c757d;
  color: #fff;
}
