﻿/* Contenedor principal */
.simple-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
}

.slide img, .slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 16 / 9;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  padding: 10px 14px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

.dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #fff;
}

@media (max-width: 768px) {
  .slider-btn {
    padding: 8px 11px;
    font-size: 16px;
  }

  .slide img, .slide video {
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #fff;
  }
  .desplazamiento{
   transform: none;
}
}

@media (max-width: 480px) {
  .slider-btn {
    padding: 6px 9px;
    font-size: 14px;
  }

  .dots {
    bottom: 8px;
  }
}
/***FIN DEL SLIDER*/

/*** COMIENZO DEL PANEL LATERAL***/
/*** COMIENZO DEL PANEL LATERAL***/
.destacados {
   width: 100%;
   /* ancho del panel*/
   background: white;
}
.titulo-destacados {
   
   color: white;
   text-align: center;
   font-weight: bold;
   font-size: 20px;
   
}

.destacados-col {
   transform: translateX(220px);
}
.destacados a {
   display: block;
   padding: 10px 10px;
   /*Espaciado de las letras y centrados */
   color: #04809c;
   text-decoration: none;
   font-size: 16px;
}
.destacados a:hover {
   background: #f2f2f2;
}


/* --- BOTON FLOTANTE DESTACADOS */
.botones-flotantes {
  position: fixed;
  right: 0;
  top: 35%;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-flotante {
  text-decoration: none !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 13px;
  letter-spacing: 1px;
  color: #fff !important;
  padding: 18px 12px;
  border-radius: 10px 0 0 10px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  box-shadow: -3px 3px 15px rgba(0,0,0,0.25);
  transition: all 0.2s ease;
    width: 40px;

}

.btn-flotante:hover {
  transform: rotate(180deg) translateX(5px);
}

.btn-flotante.destacados {
  background: #04809c; 
}

.encabezados {
   background: #04809c;
   color: #ffffff;
   font-family: 'Montserrat', sans-serif !important;
   letter-spacing: 2.5px; 
}
/*=========SLIDER SIMPOSIO Y CONIMI============== */
/* ===== ESTILOS DEL SLIDER ===== */
/* Contenedor principal */
.slider-vertical-container {
   width: 400px;
   max-width: 90%;
   margin: 30px auto;
   overflow: hidden;
   position: relative;
   border-radius: 15px;
   box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
   background: #f0f0f0;
}
/* El slider en sí */
.slider-vertical {
   display: flex;
   transition: transform 0.6s ease-in-out;
   width: 100%;
}
/* Cada diapositiva */
.slide-vertical {
   min-width: 100%;
   flex: 0 0 100%;
   display: flex;
   justify-content: center;
   align-items: center;
   background: #f0f0f0;
}
/* Imágenes verticales */
.slide-vertical img {
   width: 100%;
   height: auto;
   display: block;
   object-fit: contain;
   max-height: 700px;
}
/* ===== BOTONES ===== */
.slider-vertical-btn {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   background: rgba(0, 0, 0, 0.5);
   color: white;
   border: none;
   padding: 12px 16px;
   cursor: pointer;
   font-size: 22px;
   z-index: 10;
   border-radius: 50%;
   transition: all 0.3s;
   width: 45px;
   height: 45px;
   display: flex;
   justify-content: center;
   align-items: center;
}
.slider-vertical-btn:hover {
   background: rgba(0, 0, 0, 0.8);
   transform: translateY(-50%) scale(1.1);
}
.btn-vertical-prev {
   left: 10px;
}
.btn-vertical-next {
   right: 10px;
}
/* ===== PUNTOS ===== */
.dots-vertical {
   text-align: center;
   padding: 12px 0;
   position: absolute;
   bottom: 10px;
   width: 100%;
   z-index: 10;
}
.dot-vertical {
   display: inline-block;
   width: 12px;
   height: 12px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.5);
   margin: 0 5px;
   cursor: pointer;
   transition: all 0.3s;
}
.dot-vertical.active {
   background: #ffffff;
   transform: scale(1.3);
}
/* ===== CONTADOR ===== */
.slide-counter {
   position: absolute;
   top: 15px;
   right: 15px;
   background: rgba(0, 0, 0, 0.6);
   color: white;
   padding: 4px 12px;
   border-radius: 20px;
   font-size: 14px;
   font-family: Arial, sans-serif;
   z-index: 10;
}
/* ===== TÍTULO PARA CADA SLIDER ===== */
.slider-title {
   text-align: center;
   font-family: Arial, sans-serif;
   color: #333;
   margin-bottom: 5px;
   font-size: 20px;
   font-weight: bold;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 500px) {
   .slider-vertical-container {
      max-width: 95%;
      border-radius: 10px;
   }
   .slider-vertical-btn {
      padding: 8px 12px;
      font-size: 18px;
      width: 35px;
      height: 35px;
   }
   .dot-vertical {
      width: 10px;
      height: 10px;
   }
}