/* ---------------------------------------------
Product tour carousel (SistemaFacil)
--------------------------------------------- */

.tour-section {
  padding: 100px 0 110px;
  background: #fbfbfd;
}

.tour-section .section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.tour-section .section-heading p {
  margin-left: 10%;
  margin-right: 10%;
}

.tour-section .section-heading em {
  font-style: normal;
  color: #4b8ef1;
}

.tour-carousel {
  max-width: 100%;
  margin: 0 auto;
}

.tour-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 10px 6px;
  text-align: center;
}

/* Sin marco de navegador falso — las imágenes son fotos de estudio ya
   compuestas (assets/images/pantalla1.png..pantalla4.png), así que solo se
   les da una sombra ligera y esquinas redondeadas, sin recortar ni forzar
   una proporción fija. Centrada y grande: es el contenido principal del
   slide, el texto va debajo a modo de pie. */
.tour-shot {
  width: 100%;
  max-width: 700px;
}

.tour-shot img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  /*border-radius: 14px;
  box-shadow: 0px 16px 40px rgba(20, 30, 60, 0.16);*/
}

.tour-caption {
  max-width: 560px;
}

.tour-caption h4 {
  font-size: 23px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 10px;
}

.tour-caption p {
  font-size: 15px;
  line-height: 1.7;
  color: #7a7a7a;
  margin: 0 auto;
}

/* Owl nav/dots, restyled to match the plan cards' accent */
.tour-carousel .owl-nav {
  position: absolute;
  top: 38%;
  left: 0;
  right: 0;
}

.tour-carousel .owl-nav button.owl-prev,
.tour-carousel .owl-nav button.owl-next {
  position: absolute;
  width: 42px;
  height: 42px;
  line-height: 42px;
  border-radius: 50%;
  background: #fff !important;
  color: #4b8ef1 !important;
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.12);
  font-size: 15px;
  transition: all .25s;
}

.tour-carousel .owl-nav button.owl-prev:hover,
.tour-carousel .owl-nav button.owl-next:hover {
  background: linear-gradient(105deg, rgba(91, 104, 235, 1) 0%, rgba(40, 225, 253, 1) 100%) !important;
  color: #fff !important;
}

.tour-carousel .owl-nav button.owl-prev {
  left: -54px;
}

.tour-carousel .owl-nav button.owl-next {
  right: -54px;
}

.tour-carousel .owl-dots {
  text-align: center;
  margin-top: 6px;
}

.tour-carousel .owl-dots .owl-dot span {
  width: 9px;
  height: 9px;
  margin: 5px;
  background: #ddd;
  display: block;
  border-radius: 50%;
  transition: all .25s;
}

.tour-carousel .owl-dots .owl-dot.active span {
  background: linear-gradient(105deg, rgba(91, 104, 235, 1) 0%, rgba(40, 225, 253, 1) 100%);
  width: 40px;
  border-radius: 6px;
}

@media (max-width: 991px) {

  .tour-carousel .owl-nav button.owl-prev,
  .tour-carousel .owl-nav button.owl-next {
    display: none;
  }

  .tour-shot {
    flex-basis: 460px;
  }
}

@media (max-width: 767px) {
  .tour-slide {
    flex-direction: column;
    text-align: center;
    gap: 22px;
  }

  .tour-shot {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
  }

  .tour-caption p {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  .tour-section {
    padding: 70px 0 80px;
  }

  .tour-shot {
    border-radius: 12px;
  }
}