/* --- TARJETA VERTICAL --- */
.testimonial-card-vertical {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden; /* Asegura que la imagen respete el borde redondeado */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Sombra suave */
  margin: 15px; /* Espacio entre tarjetas */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Para que todas tengan la misma altura si usas flex */
}

.testimonial-card-vertical:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* --- 1. IMAGEN SUPERIOR --- */
.card-image-top {
  width: 100%;
  height: 250px; /* ALTURA FIJA: Importante para que todas se vean parejas */
  overflow: hidden;
  position: relative;
}

.card-image-top img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Recorta la imagen para llenar el espacio sin deformar */
  transition: transform 0.5s ease;
}

/* Efecto Zoom al pasar el mouse */
.testimonial-card-vertical:hover .card-image-top img {
  transform: scale(1.05);
}

/* --- 2. CONTENIDO INFERIOR --- */
.card-content-bottom {
  padding: 30px;
  text-align: center; /* Centrado se ve muy elegante en vertical */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px; /* Altura mínima para el texto */
}

/* Texto del Testimonio */
.quote-text-vertical {
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: #444;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* --- DATOS DEL AUTOR --- */
.author-info-vertical {
  border-top: 1px solid #eee; /* Línea sutil separadora */
  padding-top: 20px;
}

.author-name {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #e8620c; /* Tu color naranja */
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.author-role {
  font-size: 13px;
  color: #888;
  font-weight: 500;
}
