/* =========================================
   ESTILOS DE TESTIMONIOS - GDC DESARROLLOS
   ========================================= */

/* --- SECCIÓN GENERAL --- */
.testimonials-luxury {
  padding: 100px 0;
  background-color: #ffffff;
}

/* Títulos y Subtítulos */
.title-luxury {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #333;
}

.sub-title-luxury {
  color: #e8620c; /* Tu color naranja corporativo */
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
}

/* --- CONTENEDOR PRINCIPAL DEL SLIDE (TARJETA) --- */
.testimonial-box-luxury.visual-layout {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  /* Sombra suave y elegante */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden; /* Mantiene las imágenes dentro de los bordes redondeados */
  margin: 15px; /* Espacio entre tarjetas del carrusel */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-box-luxury:hover {
  transform: translateY(-5px); /* Leve elevación al pasar el mouse */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Corrección para el grid de Bootstrap dentro de la tarjeta */
.testimonial-box-luxury .row.no-gutters {
  width: 100%;
  margin: 0;
}

/* =========================================
   COLUMNA IZQUIERDA: MOSAICO DE IMÁGENES
   ========================================= */
.col-img-mosaic {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  height: 450px; /* ALTURA FIJA: Asegura uniformidad */
}

/* Imagen 1 (Arriba - 60% de la altura) */
.context-img.large {
  width: 100%;
  height: 60%;
  object-fit: cover; /* Recorte perfecto */
  transition: transform 0.7s ease; /* Suavidad para el zoom */
}

/* Contenedor de las 2 imágenes de abajo (40% de la altura) */
.small-imgs {
  display: flex; /* Activa el modo flexible */
  width: 100%;
  height: 40%; /* Ocupan el 40% de la altura total */
}

.context-img.small {
  /* ESTAS 3 LÍNEAS SON LA SOLUCIÓN: */
  width: 50%; /* Ancho base */
  flex: 0 0 50%; /* Obliga a no crecer ni encogerse, quedarse en 50% */
  max-width: 50%; /* Asegura que no se desborde */

  object-fit: cover; /* Recorta la imagen para que rellene el hueco */
  border-top: 2px solid #fff; /* Línea blanca superior */
  transition: transform 0.7s ease;
}

/* Separador blanco entre la imagen 2 y 3 */
.context-img.small:first-child {
  border-right: 2px solid #fff;
}

/* --- EFECTO ZOOM EN IMÁGENES (HOVER) --- */
.testimonial-box-luxury:hover .context-img {
  transform: scale(1.05); /* Zoom sutil */
}

/* =========================================
   COLUMNA DERECHA: TEXTO Y AUTOR
   ========================================= */
.col-text-content {
  background-color: #f9f9f9; /* Fondo muy suave para diferenciar */
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra el contenido verticalmente */
}

.quote-container {
  width: 100%;
}

/* Estilo del Testimonio */
.quote-text-luxury {
  font-size: 22px; /* Tamaño legible y elegante */
  font-weight: 300;
  color: #333;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 30px;
  border: none;
}

/* --- DETALLES DEL AUTOR (SIN AVATAR) --- */
.author-details-luxury {
  margin-top: 20px;
  /* Línea de acento lateral en lugar de foto */
  border-left: 4px solid #e8620c;
  padding-left: 20px; /* Espacio entre línea y texto */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.author-info-luxury {
  text-align: left;
}

.author-name-luxury {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #000; /* Nombre en negro para contraste */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.author-title-luxury {
  font-size: 14px;
  color: #e8620c; /* Cargo en naranja corporativo */
  font-weight: 500;
  display: block;
  margin-top: 4px;
}

/* =========================================
   PAGINACIÓN DEL CARRUSEL (DOTS)
   ========================================= */
.testimonials-carousel-luxury .owl-dots {
  margin-top: 40px;
  text-align: center;
}

.testimonials-carousel-luxury .owl-dot span {
  background: #ddd !important;
  width: 12px !important;
  height: 12px !important;
  margin: 5px 7px !important;
  transition: all 0.3s ease;
}

.testimonials-carousel-luxury .owl-dot.active span {
  background: #e8620c !important; /* Color activo */
  transform: scale(1.2); /* El punto activo es un poco más grande */
}

/* =========================================
   RESPONSIVE (Móvil)
   ========================================= */
@media (max-width: 767.98px) {
  .col-img-mosaic {
    height: 280px; /* Mosaico más compacto en móvil */
    flex-direction: row;
    flex-wrap: wrap;
  }

  /* En móvil, la imagen grande ocupa todo el ancho arriba */
  .context-img.large {
    height: 100%;
    width: 100%;
  }

  /* Ocultamos las imágenes pequeñas en móvil para ahorrar espacio */
  /* O puedes dejarlas si prefieres, pero suele verse muy apretado */
  .small-imgs {
    display: none;
  }

  .col-text-content {
    padding: 30px 20px;
  }

  .quote-text-luxury {
    font-size: 18px;
  }

  .title-luxury {
    font-size: 32px;
  }
}
