/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/


.pic h4 {
    position: absolute;
    left: 95px;
    top: 18px;
    color: #fff;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: 500;
    width: 90px;
}

.title h2, .title h3 {
    font-weight: 700;
    font-size: 38px;
    font-size: 1.9rem;
    margin-bottom: 15px;
}

.fontINfo p {
    font-size: 18px!important;
}

/* Fix: correos largos no se salen del contenedor */
#contacts a,
#contacts p,
#contacts li,
#contacts span{
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Si el email es un <a>, mejor aún */
#contacts a[href^="mailto:"]{
  display: inline-block;
  max-width: 100%;
  white-space: normal;
}


@media (max-width: 767px) {
.slide-text h2, .slide-text h3 {
    font-size: 42px;
    font-size: 2rem;
}

.slide-text p {
    font-size: 21px;
    font-size: 1rem;
}

.title h2, .title h3 {
    font-weight: 700;
    font-size: 38px;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.lead {
    font-size: 1rem;
    font-weight: 300;
}

.comment {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 30px;
    font-size: 18px;
    font-size: .8rem;
    font-style: italic;
    text-align: left;
}

}

/* ====== OWL: Flechas grandes y dots fuera en mobile ====== */

.carousel_item_1{
  position: relative;
}

/* NAV (flechas) */
.carousel_item_1 .owl-nav{
  position:absolute;
  top:50%;
  left:0;
  right:0;
  transform:translateY(-50%);
  display:flex;
  justify-content:space-between;
  padding:0 10px;
  pointer-events:none;
  z-index:5;
}

.carousel_item_1 .owl-nav button{
  pointer-events:auto;
  width:46px;
  height:46px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(0,0,0,.14);
  box-shadow:0 10px 22px rgba(0,0,0,.14);
  display:grid;
  place-items:center;
  transition:transform .15s ease, opacity .15s ease;
}

.carousel_item_1 .owl-nav button:hover{
  transform:scale(1.04);
}

.carousel_item_1 .owl-nav button i{
  font-size:22px;
  line-height:1;
  color:#1f1f1f;
}

/* Si tu tema mete dots raros/verticales, en mobile los apagamos */
@media (max-width: 767.98px){
  .carousel_item_1 .owl-dots{
    display:none !important;
  }
  .carousel_item_1 .owl-nav button{
    width:54px;
    height:54px;
  }
  .carousel_item_1 .owl-nav button i{
    font-size:26px;
  }
}


/* ===== FIX MOBILE: Botones debajo del video (no lo tapan) ===== */
@media (max-width: 767.98px){

  /* El modal ya no centra verticalmente (para que quepa video + botones) */
  #introVideoModal{
    align-items: flex-start;
    overflow: auto;
    padding: 10px 0;
  }

  .intro-video-stage{
    width: 100%;
    padding: 12px;
  }

  /* Deja espacio real para el panel de botones */
  #introVideo{
    max-height: 58vh;
  }

  /* 👇 Esto es lo importante: pasa el panel a flujo normal (abajo) */
  .intro-video-actions{
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    margin-top: 12px;
  }

  /* Ajuste opcional del botón play al centro visual del video */
  #introVideoPlay{
    top: 38%;
  }
}
