.form-carousel-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* mobile: elementos en columna */
.carousel-col,
.form-col {
  width: 100%;
  box-sizing: border-box;
}

/* nueva altura mínima en móvil */
.carousel-col {
  height: 100px; /* Ajusta este valor según tus imágenes */
}

.custom-slider {
  position: relative;
  width: 100%;
  height: 100%; /* o una altura realista */
  
  
}

.sticky{
  top:80px;
  position:sticky;
  
      overflow:hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
  width: 100%;
  height: 100%;
  will-change: transform;


}
.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

/* desktop: layout horizontal */
@media (min-width: 1024px) {
  .form-carousel-wrapper {
    flex-direction: row !important;
    height: 100vh; 
    gap: 0;
  }
  
  .sticky{
  height:650px;
  }
  
  

  /*.carousel-col,
  .form-col {
    height: 100vh;
  }*/
  
  .carousel-col {
    position: sticky;
    top: 0;
    height: 100vh;
    align-self: flex-start;
    z-index: 1;
  }

  .form-col {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  .form-col iframe {
    width: 100%;
    height: 100% !important;
    max-width: 500px;
    border: none;
  }
  .custom-slider {
    margin-top: -60px;
    position:relative;
}

