/* ==========================================================================
   MXA · sections/testimonios.css — Sección "Lo que Dicen de Nosotros"
   ========================================================================== */
.testimonios { background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%); color: var(--ink); overflow: hidden; position: relative; }
.testimonios::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent 0%, var(--ink) 50%, transparent 100%); z-index: 5; }
.testimonios-header-left { max-width: 640px; }
.testimonial-card {
  display: block;                                  /* overflow solo recorta en cajas de bloque/contenedor */
  flex-shrink: 0; width: 260px; position: relative; aspect-ratio: 8/16;
  overflow: hidden; background: var(--ink);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  border: 2px solid transparent;
}
@media (min-width: 640px) { .testimonial-card { width: 280px; } }
.testimonial-card:hover { transform: translateY(-6px); border-color: var(--ink); box-shadow: 0 20px 40px rgba(15,15,15,0.4); }

/* Capa de recorte de la imagen: el zoom del hover se queda SIEMPRE dentro de la
   tarjeta (mismo patrón que .post-card-figure en el blog). Necesaria porque la
   tarjeta es un <a> con aspect-ratio y en WebKit el filter + scale de la imagen
   no se recortaba con fiabilidad. */
.testimonial-media { position: absolute; inset: 0; overflow: hidden; }
.testimonial-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.1) saturate(1.1) brightness(0.95) sepia(0.15);
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-card:hover img { transform: scale(1.05); }
.testimonial-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 0%, rgba(15,15,15,0.4) 50%, rgba(15,15,15,0.1) 100%); }
.testimonial-hover-overlay { position: absolute; inset: 0; background: rgba(211,155,72,0.15); transition: background 0.5s; }
.testimonial-card:hover .testimonial-hover-overlay { background: rgba(211,155,72,0.05); }

.testimonial-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); background: rgba(15,15,15,0.4);
  transition: all 0.5s;
  box-shadow: 0 0 20px rgba(211,155,72,0.4);
}
.testimonial-card:hover .testimonial-play { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); border-color: var(--gold-lighter); box-shadow: 0 0 30px rgba(211,155,72,0.7); }
.testimonial-play svg { width: 24px; height: 24px; color: var(--gold-light); fill: var(--gold-light); margin-left: 4px; transition: all 0.5s; }
.testimonial-card:hover .testimonial-play svg { color: var(--ink); fill: var(--ink); }

.testimonial-number {
  position: absolute; top: 16px; right: 16px;
  font-family: 'Oswald', sans-serif; color: var(--gold-light); font-size: 12px; letter-spacing: 0.2em;
  background: rgba(15,15,15,0.5); padding: 4px 8px; border: 1px solid var(--gold);
}
.testimonial-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; border-top: 1px solid var(--gold); }
.testimonial-label { font-family: 'Oswald', sans-serif; text-transform: uppercase; color: var(--gold-light); font-size: 10px; letter-spacing: 0.2em; margin-bottom: 4px; }
.testimonial-name { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 600; color: var(--cream); font-size: 18px; line-height: 1.2; }

.testimonios-quote { margin-top: 64px; display: flex; align-items: flex-start; gap: 16px; max-width: 768px; }
.testimonios-quote svg { width: 40px; height: 40px; color: var(--ink); flex-shrink: 0; filter: drop-shadow(0 0 8px rgba(15,15,15,0.2)); }
.testimonios-quote p { font-family: 'Playfair Display', serif; font-style: italic; color: rgba(15,15,15,0.85); font-size: 18px; line-height: 1.7; }
@media (min-width: 1024px) { .testimonios-quote p { font-size: 20px; } }

/* Subtítulo en tinta suave sobre fondo dorado */
.testimonios .section-subtitle-italic { color: rgba(15,15,15,0.7); }

/* --- WEB 2027: tour + año del viaje y CTA de la sección ------------------- */
.testimonial-meta { margin-top: 4px; font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 10px; letter-spacing: 0.16em; color: rgba(247,244,239,0.7); }
.testimonios-cta { margin-top: 32px; }
.testimonios-cta .link-arrow { color: var(--ink); border-color: var(--ink); }
.testimonios-cta .link-arrow:hover { color: var(--cream); border-color: var(--cream); }
