/* =========================================================
   SERCLOSER ELEMENTOR WIDGETS — estilos propios del plugin
   ========================================================= */

.sc-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 18px;
  border:1px solid rgba(168,85,247,0.4);
  background:rgba(168,85,247,0.08);
  border-radius:999px;
  font-family:'Josefin Sans', sans-serif;
  font-size:11px;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#c084fc;
  text-align:center;
}

.sc-grad-heading{
  font-family:'Josefin Sans', sans-serif;
  font-weight:700;
  font-size:clamp(32px, 5vw, 52px);
  line-height:1.15;
  color:#ffffff;
  letter-spacing:-0.01em;
  margin:0;
}

.sc-grad-heading .sc-grad{
  background:linear-gradient(90deg, #c084fc, #e879f9);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* =========================================================
   BOTONES
   ========================================================= */
.sc-buttons{display:flex; gap:14px; flex-wrap:wrap; justify-content:center;}
.sc-btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 28px;
  border-radius:999px;
  font-family:'Josefin Sans', sans-serif;
  font-weight:600; font-size:15px;
  text-decoration:none;
  transition:transform .2s ease;
}
.sc-btn:hover{transform:translateY(-2px); color:inherit;}
.sc-btn-primary{
  background:linear-gradient(135deg, #a855f7 0%, #e879f9 100%);
  color:#fff !important;
  box-shadow:0 8px 24px rgba(168,85,247,0.35);
}
.sc-btn-secondary{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  color:#fff !important;
}

/* =========================================================
   CIFRAS (STATS)
   ========================================================= */
.sc-stats{display:flex; justify-content:center; gap:0; flex-wrap:wrap;}
.sc-stats .sc-stat{padding:0 28px; text-align:center; border-right:1px solid rgba(255,255,255,0.1);}
.sc-stats .sc-stat:last-child{border-right:none;}
.sc-stats .sc-stat b{
  display:block; font-size:22px; font-weight:700; color:#fff;
  font-family:'Josefin Sans', sans-serif;
  font-variant-numeric:tabular-nums;
}
.sc-stats .sc-stat span{font-size:12px; color:#767c87; font-family:'Josefin Sans', sans-serif;}

/* =========================================================
   CARRUSEL GENÉRICO (base compartida por Cards y Videos Testimonios)
   ========================================================= */
.sc-carousel{position:relative; max-width:1120px; margin:0 auto;}
.sc-carousel-track{
  display:flex; gap:16px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding:4px 4px 12px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.sc-carousel-track::-webkit-scrollbar{display:none;}

.sc-carousel button.sc-carousel-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:38px; height:38px; min-width:38px; padding:0; margin:0;
  border-radius:50%;
  background:rgba(20,20,26,0.95);
  border:1px solid rgba(255,255,255,0.18);
  box-shadow:none;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  z-index:5;
  transition:background .2s ease, opacity .2s ease;
  appearance:none; -webkit-appearance:none;
  font-family:Arial, Helvetica, sans-serif;
  line-height:1;
}
.sc-carousel button.sc-carousel-arrow,
.sc-carousel button.sc-carousel-arrow:hover,
.sc-carousel button.sc-carousel-arrow:focus,
.sc-carousel button.sc-carousel-arrow:active{
  background:rgba(20,20,26,0.95) !important;
  outline:none !important;
  box-shadow:none !important;
}
.sc-carousel button.sc-carousel-arrow:hover{background:rgba(168,85,247,0.6) !important;}
.sc-carousel .sc-carousel-arrow-glyph{display:block; color:#ffffff !important; font-size:20px; font-weight:700;}
.sc-carousel button.sc-carousel-prev{left:-14px;}
.sc-carousel button.sc-carousel-next{right:-14px;}
.sc-carousel button.sc-carousel-arrow[disabled]{opacity:0.3; cursor:default;}

@media(max-width:640px){
  .sc-carousel button.sc-carousel-arrow{display:none;}
}

/* ---- Cards carousel ---- */
.sc-cc-card{
  scroll-snap-align:start;
  flex:0 0 260px;
  background:#0e1a17;
  border:1px solid #1c2e29;
  border-radius:16px;
  padding:24px;
  font-family:'Josefin Sans', sans-serif;
  transition:border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.sc-cc-card:hover{
  border-color:rgba(168,85,247,0.6);
  box-shadow:0 0 30px rgba(168,85,247,0.25);
  transform:translateY(-3px);
}
.sc-cc-icon{
  width:40px; height:40px; border-radius:11px;
  background:rgba(168,85,247,0.15);
  color:#c084fc;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
  font-size:17px;
}
.sc-cc-icon svg{width:18px; height:18px; display:block;}
.sc-cc-card h3{font-size:16px; font-weight:700; color:#fff; margin:0 0 10px;}
.sc-cc-card p{font-size:13.5px; color:#767c87; line-height:1.55; margin:0;}

@media(max-width:640px){
  .sc-cc-card{flex:0 0 78vw;}
}

/* ---- Videos testimonios (video nativo, no iframe) ---- */
.sc-tv-card{
  scroll-snap-align:start;
  position:relative;
  flex:0 0 calc((100% - (var(--sc-tv-visible, 5) - 1) * 16px) / var(--sc-tv-visible, 5));
  aspect-ratio:9/16;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.08);
  cursor:pointer;
  background:#111116;
  transition:border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.sc-tv-card:hover{
  border-color:rgba(168,85,247,0.6);
  box-shadow:0 0 30px rgba(168,85,247,0.25);
  transform:translateY(-3px);
}
.sc-tv-card.sc-playing{transform:none;}

.sc-tv-card video{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  background:#000;
}

/* Skeleton mientras carga el video */
.sc-tv-card::before{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(100deg, #14141a 30%, #1c1c24 50%, #14141a 70%);
  background-size:220% 100%;
  animation:sc-tv-shimmer 1.6s linear infinite;
  z-index:0;
}
.sc-tv-card.sc-ready::before{display:none;}
@keyframes sc-tv-shimmer{
  from{background-position:180% 0;}
  to{background-position:-80% 0;}
}

/* Overlay angosto abajo — NO tapa el video completo, se oculta mientras reproduce */
.sc-tv-overlay{
  position:absolute; left:0; right:0; bottom:0;
  padding:16px 14px 14px;
  background:linear-gradient(to top, rgba(0,0,0,0.9) 15%, rgba(0,0,0,0.5) 55%, transparent 100%);
  font-family:'Josefin Sans', sans-serif;
  pointer-events:none;
  z-index:2;
  transition:opacity .3s ease;
}
.sc-tv-rating{color:#c084fc; font-size:12px; letter-spacing:1px; margin-bottom:4px;}
.sc-tv-overlay b{display:block; font-size:12.5px; color:#fff; font-weight:700;}
.sc-tv-overlay span{font-size:10.5px; color:rgba(255,255,255,0.7);}
.sc-tv-card.sc-playing .sc-tv-overlay{opacity:0;}

/* Botón play — igual con o sin miniatura */
.sc-tv-play{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:52px; height:52px; min-width:52px; padding:0; margin:0;
  border-radius:50%;
  background:rgba(255,255,255,0.16);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,0.32);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; z-index:3;
  appearance:none; -webkit-appearance:none;
  transition:transform .2s ease, background .2s ease, opacity .25s ease;
}
.sc-tv-card:hover .sc-tv-play,
.sc-tv-play:hover,
.sc-tv-play:focus,
.sc-tv-play:active{
  background:rgba(168,85,247,0.55) !important;
  outline:none !important;
  box-shadow:none !important;
}
.sc-tv-card:hover .sc-tv-play{transform:translate(-50%,-50%) scale(1.1);}
.sc-tv-play svg{width:18px; height:18px; margin-left:2px;}
.sc-tv-card.sc-playing .sc-tv-play{opacity:0; pointer-events:none;}

@media(max-width:640px){
  .sc-tv-card{flex:0 0 55vw;}
}
@media(prefers-reduced-motion:reduce){
  .sc-tv-card, .sc-tv-play{transition:none;}
  .sc-tv-card:hover{transform:none;}
  .sc-tv-card::before{animation:none;}
}

/* =========================================================
   FAQ ACORDEÓN
   ========================================================= */
.sc-faq-list{max-width:760px; margin:0 auto; font-family:'Josefin Sans', sans-serif;}
.sc-faq-item{
  background:#0e1a17;
  border:1px solid #1c2e29;
  border-radius:14px;
  margin-bottom:10px;
  overflow:hidden;
  transition:border-color .25s ease;
}
.sc-faq-item:hover{border-color:rgba(168,85,247,0.4);}
.sc-faq-item.sc-open{border-color:rgba(168,85,247,0.55);}
.sc-faq-head-row{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:16px 20px;
  cursor:pointer;
  appearance:none; -webkit-appearance:none;
  background:none; border:none; width:100%; text-align:left;
  font-family:'Josefin Sans', sans-serif;
}
/* Neutraliza el estilo de :hover/:focus/:active que el tema aplica a todo <button> */
.sc-faq-head-row,
.sc-faq-head-row:hover,
.sc-faq-head-row:focus,
.sc-faq-head-row:active,
.sc-faq-head-row:focus-visible{
  background:transparent !important;
  color:inherit !important;
  outline:none !important;
  box-shadow:none !important;
}
.sc-faq-head-row h4{font-size:14px; font-weight:600; color:#fff !important; margin:0;}
.sc-faq-plus{color:#c084fc; font-size:18px; line-height:1; flex-shrink:0; transition:transform .25s ease;}
.sc-faq-item.sc-open .sc-faq-plus{transform:rotate(45deg);}
.sc-faq-body{max-height:0; overflow:hidden; transition:max-height .3s ease;}
.sc-faq-body p{padding:0 20px 18px; font-size:13px; color:#767c87; line-height:1.6; margin:0;}
