/* ==========================================================================
   SLIDER Y ACCESOS DE PORTADA
   Carrusel principal y botones guinda junto al carrusel.
   ========================================================================== */

.wrapper-slider {
  padding-bottom: 13px;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 410px;
  overflow: hidden;
}
.slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  cursor: pointer;
}
.slide.active {
  opacity: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 1;
}
.slider-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid white;
  cursor: pointer;
  transition: background 0.3s ease;
}
.indicator.active {
  background: white;
}
.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}
.div-slider-botones {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 98%;
  margin: auto;
  gap: 0;
}
@media (max-width: 768px) {
  .slider-container {
    height: 250px;
  }

  .div-slider-botones {
    flex-direction: column;
    height: auto;
    gap: 0;
  }

  .btn-slider-item {
    margin: 0.6rem 0;
  }
}
@media (max-width: 576px) {

  .footer-center a.url-site {
    letter-spacing: 3px !important;
  }

  .slider-container {
    height: 200px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }
}

.btn-slider-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.8rem 0.4em;
  border-radius: 4px;
  cursor: pointer;
  background: linear-gradient(90deg, #7a0026 0%, #8e0030 100%);
}
.btn-slider-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 25%;
  height: 100%;
  background: linear-gradient(135deg, #b05a3c 0%, #7a0026 80%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.btn-slider-item span {
  position: relative;
  color: #f7e7d3;
  font-family: "Arial", sans-serif;
  text-align: center;
  font-weight: 700;
  
  font-size: clamp(0.85em, 0.9vw, 1.8em);
  letter-spacing: 0.05em;
  margin: auto;
}
.btn-slider-item:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

/* ---- Diapositiva de video ---- */
.slide-video { cursor: default; background: #000; }
.slide-video::after, .slide-video.reproduciendo::after { display: none; }
.slide-video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.slide-video-play img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity var(--vz-transicion); }
.slide-video-play:hover img, .slide-video-play:focus-visible img { opacity: 1; }
.slide-video-icono { position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--vz-guinda); color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 18px rgba(0,0,0,.45); transition: transform var(--vz-transicion), background var(--vz-transicion); }
.slide-video-icono i { margin-left: 5px; }
.slide-video-play:hover .slide-video-icono, .slide-video-play:focus-visible .slide-video-icono { background: var(--vz-guinda-hover); transform: scale(1.08); }
.slide-video-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; background: #000; }
@media (max-width: 576px) { .slide-video-icono { width: 56px; height: 56px; margin: -28px 0 0 -28px; font-size: 20px; } }
