/* --- CONTENEDOR GENERAL --- */
.acf-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  background: var(--primary-red);
}

/* --- PISTA DE SLIDES --- */
.acf-slider-track {
  display: flex;
  width: 100%; /* ✅ ANCHO AUTOMÁTICO CORREGIDO */
  transition: transform 1s ease-in-out;
}

/* --- CADA SLIDE --- */
.acf-slide {
  flex: 0 0 100%; /* ✅ Cada slide ocupa 100% del ancho visible */
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.acf-slide-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding: 0px 15%;
}

/* --- TEXTOS IZQUIERDA --- */
.acf-slide-textos {
  flex: 1;
  padding-right: 30px;
  text-align: left;
}

.acf-slide-parrafo {
  font: var(--headline-3-h3);
  margin-bottom: 42px;
  color: var(--primary-base);
}

.acf-slide-cita {
  font: var(--body-large-bold);
  color: var(--secondary-base);
  margin-bottom: 0px;
}

/* --- IMAGEN DERECHA --- */
.acf-slide-imagen {
  flex: 1;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
}

.acf-slide-imagen img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
  .acf-slide-inner {
    flex-direction: column;
    text-align: center;
    min-height: auto;
  }
  .acf-slide-textos {
    padding-right: 0;
  }
  .acf-slide-imagen {
    justify-content: center;
    margin-top: 20px;
  }
  .acf-slide-imagen img {
    max-width: 100%;
  }
}