/* ========================================
   Video Testimonials - Premium Design
   ======================================== */

.vcp-wrapper,
.vcp-wrapper *,
.vcp-wrapper *::before,
.vcp-wrapper *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.vcp-wrapper {
  --vcp-radius: 20px;
  --vcp-primary: #D4A84B;
  --vcp-primary-hover: #E5B95C;
  --vcp-bg-dark: #1a1a1a;
  --vcp-text-light: #ffffff;
  --vcp-text-dim: rgba(255, 255, 255, 0.7);
  --vcp-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
  
  position: relative;
  width: 100%;
  overflow: hidden;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Carrusel */
.vcp-carousel.swiper {
  padding: 20px 10px 50px; /* More bottom padding for pagination */
  overflow: visible;
}

/* Cards */
.vcp-card {
  position: relative;
  border-radius: var(--vcp-radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 9 / 16;
  background: var(--vcp-bg-dark);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
  transform: translateZ(0); /* Hardware accel */
}

.vcp-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--vcp-shadow);
}

.vcp-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.vcp-card:hover .vcp-card-bg {
  transform: scale(1.05);
}

.vcp-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom, 
    rgba(0,0,0,0.1) 0%, 
    rgba(0,0,0,0.2) 50%, 
    rgba(0,0,0,0.9) 100%
  );
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.vcp-card:hover .vcp-card-overlay {
  opacity: 1;
}

/* Play button - Glassmorphism */
.vcp-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.vcp-card:hover .vcp-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

.vcp-play-icon {
  width: 0;
  height: 0;
  border-left: 14px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Meta */
.vcp-card-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: var(--vcp-text-light);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.vcp-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--vcp-text-light);
  margin: 0 0 6px;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vcp-card-subtitle {
  font-size: 13px;
  color: var(--vcp-text-dim);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.vcp-card-subtitle::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background-color: var(--vcp-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--vcp-primary);
}

/* Ocultar navegación */
.vcp-nav {
  display: none !important;
}

/* Pagination Modern */
.vcp-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.vcp-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(0,0,0,0.2);
  border-radius: 4px; /* Pill shape transition */
  opacity: 0.5;
  transition: all 0.3s ease;
  margin: 0 !important;
}

.vcp-pagination .swiper-pagination-bullet-active {
  background: var(--vcp-primary);
  width: 24px;
  opacity: 1;
}

/* Modal */
.vcp-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vcp-modal.is-open {
  display: flex;
  opacity: 1;
}

.vcp-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(5px);
}

.vcp-modal-dialog {
  position: relative;
  width: 90vw;
  max-width: 400px; /* Slightly wider max */
  aspect-ratio: 9 / 16;
  max-height: 85vh;
  background: #000;
  border-radius: var(--vcp-radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vcp-modal.is-open .vcp-modal-dialog {
  transform: scale(1);
}

.vcp-modal-body {
  width: 100%;
  height: 100%;
}

.vcp-modal-body iframe,
.vcp-modal-body video {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.vcp-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.vcp-modal-close:hover {
  background: rgba(255,255,255,0.2);
  transform: rotate(90deg);
}
