/* Imagen centrada y de tamaño adecuado */
.testimonial-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

/* Contenido del carrusel centrado */
#testimonialCarousel .carousel-item {
  text-align: center;
  padding: 20px 10px;
}

/* Títulos y textos */
#testimonialCarousel h5 {
  font-size: 1rem;
  color: #8c9160;
  font-weight: bold;
  margin-top: 12px;
  margin-bottom: 6px;
}

#testimonialCarousel p {
  font-size: 0.9rem;
  color: #8c9160;
  margin: 0 auto;
  max-width: 90%;
}

/* Flechas visibles y estilizadas en móviles */
#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
  width: 10%;
}

#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
  background-color: #6f6a54;
  border-radius: 50%;
  padding: 10px;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 576px) {
  .testimonial-img {
    width: 40px;
    height: 40px;
  }

  #testimonialCarousel h5 {
    font-size: 0.95rem;
  }

  #testimonialCarousel p {
    font-size: 0.95rem;
  }
}

/* === Overlay fijo sobre el carrusel === */
.carousel-wrapper { position: relative; }

/* Capa que cubre todo el carrusel */
.carousel-overlay{
  position: absolute;
  inset: 0;                /* top/right/bottom/left: 0 */
  display: flex;
  align-items: center;     /* centra verticalmente el bloque de texto */
  z-index: 2;              /* por encima de la imagen */
  pointer-events: none;    /* no bloquea flechas/gestos del carrusel */
}

/* Bloque del texto (lado izquierdo) */
.overlay-content{
  max-width: 560px;
  margin-left: 6vw;        /* separa del borde izquierdo */
  padding: 0;              /* sin relleno extra */
}

/* Título estilo foto 2, más delgado */
.overlay-title{
  margin: 0 0 16px 0;
  font-weight: 400;        /* más delgado que antes */
  line-height: 1.15;
  color: #fff;
  font-size: clamp(22px, 3.2vw, 40px);
}

/* Palabras destacadas */
.overlay-title .accent{
  color: #cfd6b2;          
  font-weight: 500;        /* también más delgado */
}

/* Botón redondeado */
.btn-cta{
  pointer-events: auto;    
  display: inline-block;
  padding: 12px 22px;
  border-radius: 9999px;
  background: #8c9160;     
  color: #fff;
  text-decoration: none;
  font-weight: 500;        /* más delgado */
  transition: transform .15s ease, opacity .15s ease;
}
.btn-cta:hover{ transform: translateY(-1px); opacity: .9; }

/* Responsivo */
@media (max-width: 768px){
  .overlay-content{
    margin: 0 6vw;              
  }
  .overlay-title{ font-size: clamp(20px, 5.2vw, 28px); }
}

@media (max-width: 480px){
  .overlay-content{
    margin: 0 4vw;
  }
}
.accent-strong {
  font-weight: 600; /* un poco más grueso que el resto */
}