/* =======================================================================
   Carrusel de testimonios en vídeo (versión compacta del "Lo dicen quienes
   ya delegan" del home). Solo lo cargan las landings ES; no comparte
   selectores con styles.css del tema principal.
   ======================================================================= */
.lp-cine {
  --lp-cine-ease: cubic-bezier(0.32, 0.72, 0, 1);
  position: relative;
  margin-top: var(--space-6);
  padding: clamp(16px, 2.4vw, 28px) 0 clamp(10px, 1.6vw, 16px);
  color: var(--color-text);
  overflow: hidden;
  perspective: 1400px;
  perspective-origin: center 60%;
}
.lp-cine__stage {
  position: relative;
  height: clamp(340px, 34vw, 400px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}
.lp-cine__slide {
  position: absolute;
  width: clamp(190px, 17vw, 228px);
  height: 100%;
  cursor: pointer;
  transition: transform 900ms var(--lp-cine-ease), opacity 700ms var(--lp-cine-ease), filter 700ms var(--lp-cine-ease);
  will-change: transform, opacity;
  transform-origin: center center;
}
.lp-cine__slide[data-pos="-2"] { transform: translate3d(-220%, 0, -260px) rotateY(28deg) scale(0.62); opacity: .14; filter: blur(3px) saturate(.6); pointer-events: none; z-index: 1; }
.lp-cine__slide[data-pos="-1"] { transform: translate3d(-105%, 0, -110px) rotateY(18deg) scale(0.82); opacity: .5; filter: blur(.5px); z-index: 2; }
.lp-cine__slide[data-pos="0"]  { transform: none; opacity: 1; filter: none; z-index: 5; }
.lp-cine__slide[data-pos="1"]  { transform: translate3d(105%, 0, -110px) rotateY(-18deg) scale(0.82); opacity: .5; filter: blur(.5px); z-index: 2; }
.lp-cine__slide[data-pos="2"]  { transform: translate3d(220%, 0, -260px) rotateY(-28deg) scale(0.62); opacity: .14; filter: blur(3px) saturate(.6); pointer-events: none; z-index: 1; }

.lp-cine__card {
  width: 100%;
  height: 100%;
  padding: 5px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 30px 60px -26px rgba(15,23,42,.35);
  position: relative;
}
.lp-cine__inner {
  width: 100%;
  height: 100%;
  border-radius: 21px;
  background: #0A0E12;
  overflow: hidden;
  position: relative;
}
.lp-cine__inner video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: #0A0E12;
}
.lp-cine__slide[data-pos="0"] video { cursor: pointer; }

.lp-cine__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  background: linear-gradient(180deg, rgba(5,7,9,.15) 0%, transparent 30%, transparent 55%, rgba(5,7,9,.85) 100%);
  pointer-events: none;
  transition: opacity 500ms var(--lp-cine-ease);
}
.lp-cine__slide.is-playing .lp-cine__overlay { opacity: 0; }
.lp-cine__flag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #D9F1FC;
  background: rgba(6,18,26,.72);
  border: 1px solid rgba(41,171,226,.45);
  padding: 5px 9px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lp-cine__flag .dot { width: 4px; height: 4px; border-radius: 999px; background: #29ABE2; box-shadow: 0 0 0 3px rgba(41,171,226,.25); }
.lp-cine__meta h3 {
  margin: 0 0 3px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.lp-cine__meta p { margin: 0; color: rgba(255,255,255,.9); font-size: .78rem; text-shadow: 0 1px 3px rgba(0,0,0,.6); }

.lp-cine__play {
  position: absolute;
  top: 50%; left: 50%;
  width: 54px; height: 54px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%, -50%) scale(.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms var(--lp-cine-ease), transform 600ms var(--lp-cine-ease);
  box-shadow: 0 16px 40px -10px rgba(0,0,0,.4);
}
.lp-cine__play svg { color: #0A0E12; margin-left: 2px; }
.lp-cine__slide[data-pos="0"] .lp-cine__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.lp-cine__slide.is-playing .lp-cine__play { opacity: 0; transform: translate(-50%, -50%) scale(.7); }

.lp-cine__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  margin-top: clamp(20px, 3vw, 28px);
}
.lp-cine__btn {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: all 400ms var(--lp-cine-ease);
}
.lp-cine__btn:hover { border-color: #29ABE2; color: #29ABE2; }
.lp-cine__dots { display: flex; align-items: center; gap: 8px; }
.lp-cine__dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: rgba(15,23,42,.2);
  border: 0; padding: 0; cursor: pointer;
  transition: all 400ms var(--lp-cine-ease);
}
.lp-cine__dot:hover { background: rgba(15,23,42,.4); }
.lp-cine__dot.is-active { width: 28px; background: #29ABE2; }
.lp-cine__progress {
  width: clamp(150px, 26vw, 260px);
  height: 2px;
  margin: 18px auto 0;
  background: rgba(15,23,42,.1);
  border-radius: 999px;
  overflow: hidden;
}
.lp-cine__bar {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, #29ABE2, #5BCBF0);
  transform: translateX(-100%);
  animation: lp-cine-progress 8000ms linear infinite;
}
@keyframes lp-cine-progress { to { transform: translateX(0); } }
.lp-cine[data-paused="true"] .lp-cine__bar { animation-play-state: paused; opacity: .3; }

@media (max-width: 768px) {
  .lp-cine { perspective: none; }
  .lp-cine__stage { height: 360px; }
  .lp-cine__slide { width: 62%; transition: transform 700ms var(--lp-cine-ease), opacity 500ms var(--lp-cine-ease); }
  .lp-cine__slide[data-pos="-2"], .lp-cine__slide[data-pos="2"] { opacity: 0; transform: translate3d(-200%, 0, 0) scale(.7); }
  .lp-cine__slide[data-pos="-1"] { transform: translate3d(-92%, 0, 0) scale(.86); opacity: .3; filter: none; }
  .lp-cine__slide[data-pos="1"]  { transform: translate3d(92%, 0, 0) scale(.86); opacity: .3; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-cine__slide { transition: none; }
  .lp-cine__bar { animation: none; }
}
