
.contenedor-banner1 {
  display: flex;
  width: 1118px;        /* total */
  height: 356px;        /* igual al carrusel */
  margin: 5px auto 0 ;
  border: 2px solid transparent; /* borde gris */
  background: #fff;
  
}

/* Carrusel */
.carrusel {
  width: 920px;
  height: 356px;
  overflow: hidden;
  position: relative;
  margin: 10px;
}

.carrusel-track {
  display: flex;
  transition: transform 1s ease-in-out;
}

.slide {
  width: 920px;
  height: 356px;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Botones carrusel */
.carrusel-nav {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carrusel-nav a {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.3s;
}

.carrusel-nav a.active {
  background: #ff0080;
}



/* Columna derecha botones lado  */
.columna-derecha {
  width: 178px;
  height: 356px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
 
}

.columna-derecha img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
  right: 20px;
  margin-right: auto;
  

 
}

.columna-derecha .overlay-wrapper:hover img {
  transform: scale(1.1);
}

/* Overlay */
.overlay-wrapper {
  position: relative;
  display: block;
  width: 171px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 171px;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay span {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

.overlay-wrapper:hover .overlay {
  opacity: 1;
}


section + section {
  margin-top: 20px;
}


/* Asegura que el enlace dentro del carrusel sea relativo */
.slide a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

/* Overlay dentro del carrusel */
.slide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Mostrar overlay al hacer hover en la slide */
.slide:hover .overlay {
  opacity: 1;
}
