/* =========================================================
   NEXUS — SOCIALS SECTION (PERRÓN + GLASS) — FINAL
   HOME · SOCIALS
   Solo: TikTok / Facebook / YouTube / Instagram
   Iconos: /assets/images/social/tiktok.png etc.
   ========================================================= */

.nx-socialsSection{
  padding: 22px 0 48px;
}

/* Grid layout */
.nx-socialsGrid{
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

/* Card wrapper (usa tu .nx-glassCard global en el HTML) */
.nx-socialsCard{
  padding: 18px;
}

/* Header */
.nx-socialsCard__top{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.nx-socialsCard__title{
  font-weight: 950;
  letter-spacing: -0.02em;
  color: rgba(11,18,32,.92);
  font-size: 14px;
}

.nx-socialsCard__hint{
  margin-top: 3px;
  font-weight: 850;
  color: rgba(11,18,32,.60);
  font-size: 12.5px;
}

.nx-socialsBadge{
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight: 950;
  font-size: 11px;
  letter-spacing: .35px;
  border: 1px solid rgba(31,106,225,.18);
  background: rgba(31,106,225,.08);
  color: rgba(11,18,32,.82);
  white-space: nowrap;
}

/* Social list */
.nx-socialList{
  display: grid;
  gap: 10px;
}

/* Link = item completo clickeable */
.nx-socialItem{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(11,18,32,.06);
  box-shadow: 0 14px 34px rgba(11,18,32,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  text-decoration: none;
  cursor: pointer;
}

.nx-socialItem:hover{
  transform: translateY(-2px);
  border-color: rgba(31,106,225,.22);
  box-shadow: 0 22px 50px rgba(11,18,32,.10);
}

/* Icon wrap (para que no se vean huecos) */
.nx-socialIcon{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 18px 40px rgba(11,18,32,.08);
  flex: 0 0 auto;
  overflow: hidden; /* clave para que el PNG no salga */
}

/* ✅ La imagen del icono: llena el contenedor y se recorta bonito */
.nx-socialIcon img{
  width: 100%;
  height: 100%;
  object-fit: cover;         /* llena sin huecos */
  object-position: center;   /* centra el logo */
  border-radius: 16px;
  transform: scale(1.08);    /* “zoom” leve para evitar bordes vacíos */
}

/* Variantes suaves por red (solo borde/halo) */
.nx-socialItem--tiktok .nx-socialIcon{
  border-color: rgba(20,90,220,.14);
}
.nx-socialItem--facebook .nx-socialIcon{
  border-color: rgba(31,106,225,.18);
}
.nx-socialItem--youtube .nx-socialIcon{
  border-color: rgba(255,90,90,.20);
}
.nx-socialItem--instagram .nx-socialIcon{
  border-color: rgba(170,120,255,.18);
}

/* Text */
.nx-socialText{
  min-width: 0;
}

.nx-socialName{
  font-weight: 950;
  color: rgba(11,18,32,.92);
  font-size: 13.5px;
  line-height: 1.1;
}

.nx-socialSub{
  margin-top: 3px;
  font-weight: 850;
  color: rgba(11,18,32,.58);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Go button */
.nx-socialGo{
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(20,90,220,.08);
  border: 1px solid rgba(20,90,220,.12);
  color: rgba(11,18,32,.78);
  font-weight: 950;
  transition: transform .16s ease;
  flex: 0 0 auto;
}

.nx-socialItem:hover .nx-socialGo{
  transform: translateX(2px);
}

/* Footer row */
.nx-socialFooter{
  margin-top: 12px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.nx-socialFooter__t{
  font-weight: 950;
  color: rgba(11,18,32,.92);
  font-size: 13px;
}

.nx-socialFooter__s{
  margin-top: 3px;
  font-weight: 850;
  color: rgba(11,18,32,.60);
  font-size: 12.5px;
}

/* A11y helper */
.nx-srOnly{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* Responsive */
@media (max-width: 980px){
  .nx-socialsGrid{
    grid-template-columns: 1fr;
  }
}
