/* Slide activo */
.banner-slide.activo {
  position: relative;
  width: 100%;
  height: 400px; /* altura PC */
  overflow: hidden;
}

/* Imagen del banner */
.banner-slide.activo picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
}

.banner-slide.activo picture img.imagen-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  display: block;
}

/* Figura diagonal roja fija */
.banner-slide.activo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 60%;
  background-color: #d60000; /* roja igual que la figura */
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
  z-index: 1;
  pointer-events: none;
}

/* Contenido textual sobre la imagen */
.banner-enlace .contenido {
  position: relative;
  z-index: 2;
  padding: 20px;
  max-width: 60%;
  color: #fff;
}

/* Título, descripción y botón */
.contenido .titulo-banner {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 0.5em;
  max-height: 160px;
  overflow: hidden;
  word-wrap: break-word;
  white-space: normal;
}

.banner-enlace .contenido p {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 0.5em;
  margin-left: 50px; /* desplaza 50px a la derecha */
}

.btn-banner {
  display: inline-block;
  margin-top: 10px;
  margin-left: 50px; /* separar un poco de la flecha */
  padding: 10px 20px; /* tamaño PC */
  background: #fff;
  color: #d60000;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px; /* tamaño PC */
}

/* Contenedor promoción */
.promocion {
  position: absolute;
  bottom: 20px; /* alineado inferior */
  left: 20px;
  display: flex;
  align-items: center;
  z-index: 2;
  color: #fff !important; /* fuerza blanco */
}

/* Logo de promoción */
.promocion img {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

/* Texto de promoción */
.promocion .titulo-promocion,
.promocion a,
.promocion a * {
  color: #fff !important; /* fuerza blanco */
  font-size: 24px; /* más grande en PC */
  white-space: nowrap;
}

/* Navegación */
.nav-container {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.nav-container .nav {
  pointer-events: auto;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  backdrop-filter: blur(4px);
}

/* Responsivo */
@media (max-width: 768px) {
  .banner-slide.activo {
    height: 300px; /* más alto en móvil */
  }

  .banner-slide.activo picture {
    height: 100%;
  }

  .banner-slide.activo picture img.imagen-banner {
    width: 100%;
    height: 100%;
    object-position: center top;
  }

  .contenido .titulo-banner {
    font-size: 22px; /* más pequeño móvil */
    line-height: 1.3;
    max-height: 120px;
  }

  .banner-enlace .contenido p {
    font-size: 14px;
    margin-left: 50px; /* conservar desplazamiento */
  }

  .btn-banner {
    font-size: 14px;
    padding: 8px 16px; /* tamaño móvil */
    margin-left: 20px;
  }

  .promocion img {
    height: 30px; /* logo móvil */
  }

  .promocion .titulo-promocion {
    font-size: 30px; /* tamaño móvil */
    color: #fff !important;
  }

  .nav-container .nav {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}
