/* ================================
   TESTIMONIOS V2 - ESTILO STRIPE
   + Preview web (sin métricas)
   ================================ */

.testimonios-section-v2 {
  padding: 6rem 2rem;
  background: #ffffff !important;
  position: relative;
}

/* =============================
   HEADER
   ============================= */

.testimonios-header-v2 {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.section-title-v2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #0a0a0a;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle-v2 {
  font-size: 1.2rem;
  color: #6b7280;
  line-height: 1.6;
}

/* =============================
   GRID
   ============================= */

.testimonios-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* =============================
   CARD V2
   ============================= */

.testimonio-card-v2 {
  background: #111827;
  border: 1px solid #374151;
  border-radius: 16px;
  padding: 0; /* Sin padding, la imagen va al borde */
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.testimonio-card-v2:hover {
  border-color: #4b5563;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* =============================
   PREVIEW DE LA WEB (NUEVO)
   ============================= */

.web-preview {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #1f2937;
  cursor: pointer;
}

.web-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.testimonio-card-v2:hover .web-preview img {
  transform: scale(1.08);
}

/* Overlay oscuro al hover */
.preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.testimonio-card-v2:hover .preview-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.preview-label {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.testimonio-card-v2:hover .preview-label {
  opacity: 1;
  transform: translateY(0);
}

/* =============================
   CONTENIDO (Quote + Autor)
   ============================= */

.testimonio-quote-big {
  font-size: 1.35rem;
  font-weight: 600;
  color: white;
  line-height: 1.6;
  font-style: normal;
  margin: 0;
  letter-spacing: -0.01em;
  padding: 2rem 2.5rem 1.5rem 2.5rem;
}

/* AUTOR */
.testimonio-author {
  padding: 0 2.5rem 1.5rem 2.5rem;
  border-top: 1px solid #374151;
  margin: 0 2.5rem;
  padding-top: 1.5rem;
}

.author-name {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.25rem 0;
}

.author-business {
  font-size: 0.9rem;
  color: #9ca3af;
  margin: 0;
}

/* LINK */
.testimonio-link-v2 {
  font-size: 0.9rem;
  color: #6b7280;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  font-family: 'Courier New', monospace;
  padding: 0 2.5rem 2.5rem 2.5rem;
  display: block;
}

.testimonio-link-v2:hover {
  color: #F1681C;
}

/* =============================
   RESPONSIVE
   ============================= */

@media (max-width: 768px) {
  .testimonios-section-v2 {
    padding: 4rem 1.5rem;
  }
  
  .section-title-v2 {
    font-size: 2rem;
  }
  
  .section-subtitle-v2 {
    font-size: 1.1rem;
  }
  
  .testimonios-grid-v2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .web-preview {
    height: 200px;
  }
  
  .testimonio-quote-big {
    font-size: 1.2rem;
    padding: 1.75rem 2rem 1.25rem 2rem;
  }
  
  .testimonio-author {
    padding: 0 2rem 1.25rem 2rem;
    margin: 0 2rem;
    padding-top: 1.25rem;
  }
  
  .testimonio-link-v2 {
    padding: 0 2rem 2rem 2rem;
  }
}

@media (max-width: 480px) {
  .testimonios-grid-v2 {
    grid-template-columns: 1fr;
  }
  
  .web-preview {
    height: 180px;
  }
  
  .testimonio-quote-big {
    font-size: 1.1rem;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }
  
  .testimonio-author {
    padding: 0 1.5rem 1rem 1.5rem;
    margin: 0 1.5rem;
    padding-top: 1rem;
  }
  
  .testimonio-link-v2 {
    padding: 0 1.5rem 1.5rem 1.5rem;
    font-size: 0.85rem;
  }
}
