/* --- Portada minimal --- */
:root{ --spcHomeVH: 80vh; --spcAccent: #111827; }

.spc-hero{
  position:relative; width:100vw; max-width:100%; overflow:hidden;
  margin:0 calc(50% - 50vw); /* fuerza ancho total de viewport aunque el tema tenga contenedor */
}
.spc-hero-inner{ position:relative; width:100%; height:var(--spcHomeVH); overflow:hidden; }
.spc-slider{ position:relative; width:100%; height:100%; }
.spc-slide{ position:absolute; inset:0; opacity:0; transition:opacity .6s ease; }
.spc-slide.is-active{ opacity:1; }
/* Full width/height: cover para ocupar todo el ancho */
.spc-slide img{ width:100%; height:100%; object-fit:cover; object-position:center; display:block; }

.spc-arrow{ position:absolute; top:50%; transform:translateY(-50%); z-index:3;
  width:44px; height:44px; border-radius:999px; border:none; cursor:pointer;
  background:rgba(17,24,39,.75); color:#fff; font-size:26px; line-height:44px;
}
.spc-arrow.prev{ left:14px; } .spc-arrow.next{ right:14px; }

.spc-dots{ position:absolute; left:50%; transform:translateX(-50%); bottom:14px; display:flex; gap:8px; z-index:3; }
.spc-dot{ width:10px; height:10px; border-radius:999px; border:none; background:rgba(255,255,255,.5); cursor:pointer; }
.spc-dot.is-active{ background:#fff; }

/* ====== Eslogan (overlay inferior) ====== */
.spc-caption{
  position:absolute; left:0; right:0; bottom:0; z-index:3;
  padding:0; /* lo maneja el inner */
}
.spc-caption-inner{
  margin:0 auto;
  width:min(1100px, 92%);
  color:#fff;
  padding:18px 20px 22px;
  /* Fondo con degradado suave + blur para legibilidad sobre cualquier foto */
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 10%, rgba(0,0,0,.45) 100%);
  backdrop-filter: blur(2px);
  border-radius:14px 14px 0 0;
  text-align:center;
  font-size: clamp(18px, 2.4vw, 28px);
  line-height:1.3;
}
.spc-caption-inner p{ margin:.2em 0; }

/* ====== Redes (flotante) ====== */
.spc-social{ position:fixed; right:16px; bottom:16px; display:flex; flex-direction:column; gap:10px; z-index:10; }
.spc-social a{ width:44px; height:44px; border-radius:14px; display:grid; place-items:center; color:white; text-decoration:none; }
.spc-social a:nth-child(1){ background:#1877F2; }   /* FB */
.spc-social a:nth-child(2){ background:#E1306C; }   /* IG */
.spc-social a:nth-child(3){ background:#FF0000; }   /* YT */
.spc-social a:nth-child(4){ background:#25D366; }   /* WA */

/* Admin thumbs */
.spc-thumbs{ display:flex; gap:10px; flex-wrap:wrap; margin:12px 0; }
.spc-thumbs .thumb{ position:relative; }
.spc-thumbs img{ width:96px; height:96px; object-fit:cover; border-radius:8px; display:block; }
.spc-thumbs .rm{ position:absolute; top:2px; right:4px; border:none; background:#111827; color:#fff; width:20px; height:20px; border-radius:999px; cursor:pointer; }

/* Pequeños ajustes responsive */
@media (max-width: 640px){
  .spc-arrow{ width:38px; height:38px; font-size:22px; }
  .spc-social a{ width:40px; height:40px; }
}
