/* Encapsulamos todo bajo la clase .leende-premium-wrapper para evitar conflictos con Impreza */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

.leende-premium-wrapper {
  --navy: #0A1628;
  --navy-light: #142238;
  --brand-blue: #2FA3F2;
  --brand-blue-light: #5CBAF5;
  --brand-blue-dark: #1282CD;
  --white: #FFFFFF;
  --off-white: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --mint: #F0F9FF;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --shadow-sm: 0 2px 8px rgba(10,22,40,0.06);
  --shadow-md: 0 8px 30px rgba(10,22,40,0.1);
  --shadow-lg: 0 20px 60px rgba(10,22,40,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.leende-premium-wrapper *, 
.leende-premium-wrapper *::before, 
.leende-premium-wrapper *::after { 
  box-sizing: border-box; 
}

/* === HERO === */
.leende-premium-wrapper .hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #0F203B 100%);
  overflow: hidden;
}
.leende-premium-wrapper .hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(47,163,242,0.08) 0%, transparent 70%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-5%, 3%) scale(1.1); }
}
.leende-premium-wrapper .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.leende-premium-wrapper .hero-text { color: var(--white); }
.leende-premium-wrapper .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(47,163,242,0.15);
  border: 1px solid rgba(47,163,242,0.3);
  color: var(--brand-blue-light);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.leende-premium-wrapper .hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
}
.leende-premium-wrapper .hero h1 span { color: var(--brand-blue); }
.leende-premium-wrapper .hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  max-width: 480px;
}
.leende-premium-wrapper .hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Buttons */
.leende-premium-wrapper .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.leende-premium-wrapper .btn-primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
  color: var(--white);
}
.leende-premium-wrapper .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(47,163,242,0.4);
}
.leende-premium-wrapper .btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.leende-premium-wrapper .btn-outline:hover {
  border-color: var(--brand-blue-light);
  color: var(--brand-blue-light);
  transform: translateY(-2px);
}
.leende-premium-wrapper .btn-dark {
  background: var(--navy);
  color: var(--white);
}
.leende-premium-wrapper .btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Image */
.leende-premium-wrapper .hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.leende-premium-wrapper .hero-img-wrapper {
  width: 460px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.leende-premium-wrapper .hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating card on hero */
.leende-premium-wrapper .hero-float-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--white);
  min-width: 220px;
  animation: floatCard 4s ease-in-out infinite alternate;
}
@keyframes floatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}
.leende-premium-wrapper .hero-float-card .stars { color: var(--brand-blue-light); font-size: 1.1rem; margin-bottom: 4px; }
.leende-premium-wrapper .hero-float-card .count { font-weight: 700; font-size: 1.3rem; }
.leende-premium-wrapper .hero-float-card .label { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* === CONSULTA BANNER === */
.leende-premium-wrapper .consulta-banner {
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-dark));
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.leende-premium-wrapper .consulta-banner h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 5px;
}
.leende-premium-wrapper .consulta-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  max-width: 400px;
  margin: 0;
}
.leende-premium-wrapper .consulta-banner .btn { background: var(--white); color: var(--brand-blue-dark); }
.leende-premium-wrapper .consulta-banner .btn:hover { background: var(--off-white); box-shadow: var(--shadow-lg); transform: translateY(-2px); }

/* === VIDEOS TELEVISA === */
.leende-premium-wrapper .videos-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.leende-premium-wrapper .video-card {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9/16;
  border-radius: 24px;
  overflow: hidden;
  background: var(--off-white);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border: 6px solid var(--white);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}
.leende-premium-wrapper .video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}
.leende-premium-wrapper .video-card iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* === SECTIONS GENERAL === */
.leende-premium-wrapper .section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.leende-premium-wrapper .section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 12px;
}
.leende-premium-wrapper .section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.leende-premium-wrapper .section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.7;
}
.leende-premium-wrapper .section-header { margin-bottom: 50px; }
.leende-premium-wrapper .section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.leende-premium-wrapper .section-header.center .section-subtitle { margin: 0 auto; }

/* === SERVICES PHOTO GRID === */
.leende-premium-wrapper .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
@media (min-width: 900px) {
  .leende-premium-wrapper .services-grid .service-card:nth-child(1),
  .leende-premium-wrapper .services-grid .service-card:nth-child(4) {
    grid-column: span 2;
  }
}
.leende-premium-wrapper .service-card {
  position: relative;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  border: none;
  padding: 0;
  display: flex;
  align-items: flex-end;
  transition: var(--transition);
  text-decoration: none;
}
.leende-premium-wrapper .service-card-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
  opacity: 0.8;
}
.leende-premium-wrapper .service-card-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.4) 40%, transparent 100%);
  z-index: 2;
  transition: background 0.4s ease;
}
.leende-premium-wrapper .service-card-content {
  position: relative;
  z-index: 3;
  padding: 36px 30px;
  width: 100%;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}
.leende-premium-wrapper .service-card h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.leende-premium-wrapper .service-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.4s ease;
  margin-bottom: 0;
}
.leende-premium-wrapper .service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--brand-blue-light);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.leende-premium-wrapper .service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.leende-premium-wrapper .service-card:hover .service-card-bg {
  transform: scale(1.05);
  opacity: 0.5;
}
.leende-premium-wrapper .service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.8) 100%);
}
.leende-premium-wrapper .service-card:hover .service-card-content {
  transform: translateY(0);
}
.leende-premium-wrapper .service-card:hover p, 
.leende-premium-wrapper .service-card:hover .service-link {
  opacity: 1;
}

/* === DOCTORS PREMIUM DESIGN === */
.leende-premium-wrapper .doctors-section { 
  background: var(--off-white); 
  padding: 100px 0; 
}
.leende-premium-wrapper .doctors-section.premium-dark-mode {
  background: var(--navy);
  background-image: radial-gradient(circle at 50% 0%, rgba(47,163,242,0.05) 0%, transparent 60%);
  color: var(--white);
}
.leende-premium-wrapper .doctors-section.premium-dark-mode .section-title {
  color: var(--white);
}
.leende-premium-wrapper .doctors-section.premium-dark-mode .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.leende-premium-wrapper .doctors-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.leende-premium-wrapper .doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
}
/* Carousel variants */
.leende-premium-wrapper .carousel-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.leende-premium-wrapper .doctors-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 30px;
  padding-bottom: 40px;
  scroll-behavior: smooth;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.leende-premium-wrapper .doctors-carousel::-webkit-scrollbar {
  display: none;
}
.leende-premium-wrapper .doctors-carousel .doctor-card {
  min-width: calc((100% - 60px) / 3); /* 3 cards with 2 gaps of 30px */
  max-width: calc((100% - 60px) / 3);
  flex: 0 0 auto;
  scroll-snap-align: start;
}
@media (max-width: 900px) {
  .leende-premium-wrapper .doctors-carousel .doctor-card {
    min-width: calc((100% - 30px) / 2); /* 2 cards */
    max-width: calc((100% - 30px) / 2);
  }
}
@media (max-width: 600px) {
  .leende-premium-wrapper .doctors-carousel .doctor-card {
    min-width: 100%; /* 1 card */
    max-width: 100%;
  }
}

/* Carousel Buttons */
.leende-premium-wrapper .carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--white);
  color: var(--navy);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 10;
  transition: all 0.3s ease;
  margin-top: -20px; /* Offset for padding-bottom */
}
.leende-premium-wrapper .carousel-nav:hover {
  background: var(--brand-blue);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}
.leende-premium-wrapper .carousel-nav.prev {
  left: -25px;
}
.leende-premium-wrapper .carousel-nav.next {
  right: -25px;
}
@media (max-width: 1200px) {
  .leende-premium-wrapper .carousel-nav.prev { left: -10px; }
  .leende-premium-wrapper .carousel-nav.next { right: -10px; }
}

.leende-premium-wrapper .doctor-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 28px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  position: relative;
}
.leende-premium-wrapper .doctor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 10;
}
.leende-premium-wrapper .doctor-card:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.leende-premium-wrapper .doctor-photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: radial-gradient(circle at center 30%, rgba(47,163,242,0.15) 0%, transparent 70%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.leende-premium-wrapper .doctor-photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(10,22,40,1) 0%, rgba(10,22,40,0) 100%);
  pointer-events: none;
  z-index: 2;
}
.leende-premium-wrapper .doctor-photo svg {
  width: 40px;
  height: 40px;
  opacity: 0.5;
  margin-bottom: 50%;
}
.leende-premium-wrapper .doctor-photo img { 
  width: 95%; 
  height: 95%; 
  object-fit: contain; 
  object-position: bottom; 
  position: relative;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
}
.leende-premium-wrapper .doctor-card:hover .doctor-photo img {
  transform: scale(1.05);
}
.leende-premium-wrapper .doctor-info { 
  padding: 0 30px 36px; 
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 3;
  margin-top: -20px;
}
.leende-premium-wrapper .doctor-info h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.2;
}
.leende-premium-wrapper .doctor-info .specialty {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-blue-light);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.leende-premium-wrapper .doctor-details {
  margin-top: auto;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.leende-premium-wrapper .doctor-details span {
  display: block;
}

/* === TESTIMONIALS === */
.leende-premium-wrapper .testimonials-section { background: var(--navy); padding: 100px 0; overflow: hidden; }
.leende-premium-wrapper .testimonials-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.leende-premium-wrapper .testimonials-section .section-label { color: var(--brand-blue-light); }
.leende-premium-wrapper .testimonials-section .section-title { color: var(--white); }
.leende-premium-wrapper .testimonials-section .section-subtitle { color: rgba(255,255,255,0.5); }
.leende-premium-wrapper .testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.leende-premium-wrapper .testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.leende-premium-wrapper .testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}
.leende-premium-wrapper .testimonial-stars { color: var(--brand-blue-light); font-size: 0.9rem; margin-bottom: 16px; }
.leende-premium-wrapper .testimonial-card blockquote {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.leende-premium-wrapper .testimonial-author {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}
.leende-premium-wrapper .testimonials-cta {
  text-align: center;
  margin-top: 40px;
}

/* === LOCATION === */
.leende-premium-wrapper .location-section {
  background: var(--off-white);
  padding: 100px 0;
}
.leende-premium-wrapper .location-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.leende-premium-wrapper .location-map {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.leende-premium-wrapper .location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.leende-premium-wrapper .location-info .info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.leende-premium-wrapper .info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  flex-shrink: 0;
}
.leende-premium-wrapper .info-icon svg { width: 20px; height: 20px; }
.leende-premium-wrapper .info-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}
.leende-premium-wrapper .info-item p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0;
}

/* === SCROLL ANIMATIONS === */
.leende-premium-wrapper .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.leende-premium-wrapper .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .leende-premium-wrapper .hero-content { grid-template-columns: 1fr; text-align: center; }
  .leende-premium-wrapper .hero-desc { margin: 0 auto 36px; }
  .leende-premium-wrapper .hero-ctas { justify-content: center; }
  .leende-premium-wrapper .hero-visual { display: none; }
  .leende-premium-wrapper .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .leende-premium-wrapper .testimonials-track { grid-template-columns: 1fr; }
  .leende-premium-wrapper .location-inner { grid-template-columns: 1fr; }
  .leende-premium-wrapper .videos-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
@media (max-width: 600px) {
  .leende-premium-wrapper .hero { min-height: 70vh; }
  .leende-premium-wrapper .hero h1 { font-size: 2.8rem; }
  .leende-premium-wrapper .section { padding: 60px 20px; }
  .leende-premium-wrapper .hero-ctas { flex-direction: column; width: 100%; }
  .leende-premium-wrapper .consulta-banner { flex-direction: column; text-align: center; gap: 20px; }
  .leende-premium-wrapper .doctors-grid { grid-template-columns: 1fr; }
}

/* === PAGINA DE TESTIMONIOS COMPLETA (SOBRESCRIBIENDO STRONG TESTIMONIALS) === */
.leende-premium-wrapper.page-testimonios {
  background-color: var(--navy) !important;
  min-height: 100vh;
  padding-bottom: 100px;
}
.leende-premium-wrapper.page-testimonios .section-header {
  padding: 80px 20px 40px;
}
.leende-premium-wrapper.page-testimonios .testimonials-grid-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Layout: Strong Testimonials view 3 usa Masonry JS (posición absoluta) */
/* El contenedor Masonry necesita tener posición relativa y no colapsar */
.leende-premium-wrapper.page-testimonios .strong-view {
  overflow: visible !important;
}
.leende-premium-wrapper.page-testimonios .strong-content {
  position: relative !important;
  overflow: visible !important;
}
/* Asegurar que las columnas CSS columns funcionen si no usa masonry */
.leende-premium-wrapper.page-testimonios .strong-content.strong-columns.columns-2 {
  column-gap: 24px !important;
}
/* Los items masonry-brick tienen posición absoluta del JS, necesitan ser visibles */
.leende-premium-wrapper.page-testimonios .masonry-brick {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Cada tarjeta individual */
.leende-premium-wrapper.page-testimonios .wpmtst-testimonial {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 0 !important;
  margin-bottom: 24px !important;
  color: var(--white) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
  transition: transform 0.3s ease !important;
  break-inside: avoid !important;
  overflow: hidden !important;
}
.leende-premium-wrapper.page-testimonios .wpmtst-testimonial:hover {
  transform: translateY(-5px) !important;
}

/* Inner wrapper - especificidad alta para ganarle a content.css del plugin */
.leende-premium-wrapper.page-testimonios .strong-view.wpmtst-default .wpmtst-testimonial-inner,
.leende-premium-wrapper.page-testimonios .wpmtst-testimonial-inner,
.leende-premium-wrapper.page-testimonios .testimonial-inner {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-color: transparent !important;
  padding: 30px !important;
  position: relative !important;
  color: #FFFFFF !important;
}

/* Heading (título del testimonio) */
.leende-premium-wrapper.page-testimonios .wpmtst-testimonial-heading,
.leende-premium-wrapper.page-testimonios .testimonial-heading {
  display: none !important;
}

/* FORZAR BLANCO en absolutamente todo el texto dentro de cada tarjeta */
.leende-premium-wrapper.page-testimonios .wpmtst-testimonial *,
.leende-premium-wrapper.page-testimonios .strong-view .wpmtst-testimonial-inner *,
.leende-premium-wrapper.page-testimonios .strong-view .testimonial-inner * {
  color: #FFFFFF !important;
}

/* Contenido del testimonio - tipografía grande y legible */
.leende-premium-wrapper.page-testimonios .wpmtst-testimonial-content,
.leende-premium-wrapper.page-testimonios .testimonial-content,
.page-testimonios .strong-view.wpmtst-default .wpmtst-testimonial-content {
  color: #FFFFFF !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 1.1rem !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  margin-bottom: 20px !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}
.leende-premium-wrapper.page-testimonios .wpmtst-testimonial-content p,
.leende-premium-wrapper.page-testimonios .testimonial-content p,
.page-testimonios .strong-view.wpmtst-default .wpmtst-testimonial-content p {
  color: #FFFFFF !important;
  font-size: 1.1rem !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  margin-top: 0 !important;
}

/* Ocultar la imagen gravatar genérica */
.leende-premium-wrapper.page-testimonios .wpmtst-testimonial-image,
.leende-premium-wrapper.page-testimonios .testimonial-image {
  display: none !important;
}
.leende-premium-wrapper.page-testimonios .maybe-clear {
  display: none !important;
}

/* Badge "verificado" / "formulario" */
.leende-premium-wrapper.page-testimonios .wpmtst-testimonial-field.verificado {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  background-color: rgba(47,163,242,0.15) !important;
  color: #5CBAF5 !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  font-size: 0.7rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* Nombre del paciente */
.leende-premium-wrapper.page-testimonios .wpmtst-testimonial-field.testimonial-name {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  font-family: 'Inter', sans-serif !important;
  border-top: 1px solid rgba(255,255,255,0.15) !important;
  padding-top: 15px !important;
  margin-top: 10px !important;
}

/* Fecha */
.leende-premium-wrapper.page-testimonios .wpmtst-testimonial-field.fecha {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.85rem !important;
  margin-top: 4px !important;
  text-align: left !important;
  font-style: normal !important;
  font-family: 'Inter', sans-serif !important;
}

/* Estrellas (calificación) */
.leende-premium-wrapper.page-testimonios .wpmtst-testimonial-field.calificacion {
  margin-top: 8px !important;
}
.leende-premium-wrapper.page-testimonios .strong-rating-wrapper {
  float: none !important;
}
.leende-premium-wrapper.page-testimonios .strong-rating .star svg.star_solid path {
  fill: #FBBF24 !important;
}

/* Div clear */
.leende-premium-wrapper.page-testimonios .clear {
  clear: both !important;
}

/* Paginación de Strong Testimonials */
.leende-premium-wrapper.page-testimonios .strong-pager .nav-links,
.leende-premium-wrapper.page-testimonios .wpmtst-pagination {
  width: 100% !important;
  text-align: center !important;
  margin-top: 40px !important;
}
.leende-premium-wrapper.page-testimonios .wpmtst-pagination a,
.leende-premium-wrapper.page-testimonios .wpmtst-pagination span,
.leende-premium-wrapper.page-testimonios .nav-links a,
.leende-premium-wrapper.page-testimonios .nav-links span {
  display: inline-block !important;
  padding: 10px 18px !important;
  margin: 0 4px !important;
  background: rgba(255,255,255,0.05) !important;
  color: var(--white) !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  transition: all 0.3s ease !important;
}
.leende-premium-wrapper.page-testimonios .wpmtst-pagination .current,
.leende-premium-wrapper.page-testimonios .nav-links .current {
  background: var(--brand-blue) !important;
  border-color: var(--brand-blue) !important;
}
.leende-premium-wrapper.page-testimonios .wpmtst-pagination a:hover,
.leende-premium-wrapper.page-testimonios .nav-links a:hover {
  background: rgba(255,255,255,0.1) !important;
}

/* Sobrescribir los estilos del tema custom CSS que agregan colores verdes/default */
.leende-premium-wrapper.page-testimonios .inicial-testimonio {
  background: var(--brand-blue) !important;
}
.leende-premium-wrapper.page-testimonios .google-icon {
  background-color: white !important;
}

/* Responsive */
@media (max-width: 900px) {
  .leende-premium-wrapper.page-testimonios .strong-content.strong-columns.columns-2 {
    column-count: 1 !important;
  }
}
@media (max-width: 600px) {
  .leende-premium-wrapper.page-testimonios .testimonials-grid-container { padding: 0 20px; }
  .leende-premium-wrapper.page-testimonios .section-header { padding: 60px 20px 30px; }
}
